Lines Matching refs:project
2 * Copyright (C) 2009 The Android Open Source Project
27 import com.android.sdklib.internal.project.ProjectProperties;
28 import com.android.sdklib.internal.project.ProjectProperties.PropertyType;
33 import org.apache.tools.ant.Project;
55 * <li>Gets the project target hash string from {@link ProjectProperties#PROPERTY_TARGET},
56 * and resolves it to get the project's {@link IAndroidTarget}.</li>
175 Project antProject = getProject();
264 // display the project info
265 System.out.println("Project Target: " + androidTarget.getName());
272 // check if the project is a library
281 System.out.println("Project Type: Android Library");
333 // sets the path in the project with a reference
336 // finally set the project type.
342 antProject.setProperty(mProjectTypeOut, "project");
348 * @param antProject the ant project
349 * @param androidVersion the version of the platform the project is compiling against.
351 private void checkManifest(Project antProject, AndroidVersion androidVersion) {
414 "WARNING: Attribute %1$s in AndroidManifest.xml (%2$d) is lower than the project target API level (%3$d)",
419 "WARNING: Attribute %1$s in AndroidManifest.xml (%2$d) is higher than the project target API level (%3$d)",
439 private void processReferencedLibraries(Project antProject, IAndroidTarget androidTarget) {
467 // get the res path. Always $PROJECT/res as well as the crunch cache.
474 // get the libs path. Always $PROJECT/libs
509 // now use the reverse order to get the full list of library project.
540 * Returns all the library dependencies of a given Ant project.
541 * @param antProject the Ant project
544 private ArrayList<File> getProjectLibraries(final Project antProject) {
576 new FolderWrapper(library), PropertyType.PROJECT);
601 * project properties.
602 * @param baseFolder the base folder of the project (to resolve relative paths)
603 * @param source a source of project properties.
622 File projectProp = new File(library, PropertyType.PROJECT.getFilename());
626 "%1$s resolve to a path with no %2$s file for project %3$s", rootPath,
627 PropertyType.PROJECT.getFilename(), baseFolder.getAbsolutePath()));
650 * @param antProject the current ant project.
653 private DeweyDecimal getVersion(Project antProject) {