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) {
468 // get the res path. Always $PROJECT/res as well as the crunch cache.
475 // get the libs path. Always $PROJECT/libs
529 * Returns all the library dependencies of a given Ant project.
530 * @param antProject the Ant project
533 private ArrayList<File> getProjectLibraries(final Project antProject) {
565 new FolderWrapper(library), PropertyType.PROJECT);
590 * project properties.
591 * @param baseFolder the base folder of the project (to resolve relative paths)
592 * @param source a source of project properties.
611 File projectProp = new File(library, PropertyType.PROJECT.getFilename());
615 "%1$s resolve to a path with no %2$s file for project %3$s", rootPath,
616 PropertyType.PROJECT.getFilename(), baseFolder.getAbsolutePath()));
639 * @param antProject the current ant project.
642 private DeweyDecimal getVersion(Project antProject) {