Lines Matching refs:project
2 * Copyright (C) 2008 The Android Open Source Project
35 import com.android.sdklib.internal.project.ProjectCreator;
36 import com.android.sdklib.internal.project.ProjectProperties;
37 import com.android.sdklib.internal.project.ProjectCreator.OutputLevel;
38 import com.android.sdklib.internal.project.ProjectProperties.PropertyType;
489 * Creates a new Android project based on command-line parameters
518 "Project name '%1$s' contains invalid characters.\nAllowed characters are: %2$s",
551 * Creates a new Android test project based on command-line parameters
557 // first check the path of the parent project, and make sure it's valid.
563 // destination path of the project
567 errorAndExit("Unable to resolve Main project's directory: %1$s",
574 errorAndExit("Main project's directory does not exist: %1$s",
582 errorAndExit("No AndroidManifest.xml file found in the main project directory: %1$s",
595 mSdkLog.printf("Found main project package: %1$s\n", packageName);
604 mSdkLog.printf("Found main project activity: %1$s\n", activityName);
608 errorAndExit("No AndroidManifest.xml file found in main project.");
613 errorAndExit("Unable to parse main project manifest to get information.");
620 PropertyType.PROJECT);
622 errorAndExit("Unable to load the main project's %1$s",
623 PropertyType.PROJECT.getFilename());
629 errorAndExit("Couldn't find the main project target");
637 "Unable to resolve main project target '%1$s'. You may want to install the platform in your SDK.",
642 mSdkLog.printf("Found main project target: %1$s\n", target.getFullName());
651 "Project name '%1$s' contains invalid characters.\nAllowed characters are: %2$s",
666 * Updates an existing Android project based on command-line parameters
667 * @param library whether the project is a library project.
673 // For "update project" the target parameter is optional so having null is acceptable.
703 // too. This will take care of updating any underlying test project even if the
731 * Updates an existing test project with a new path to the main project.
743 * Adjusts the project location to make it absolute & canonical relative to the
746 * @return The project absolute path relative to {@link #mWorkDir} or the original
751 // If the new project location is absolute, use it as-is
757 // if there's no working directory, just use the project location as-is.
768 errorAndExit("Failed to combine working directory '%1$s' with project location '%2$s': %3$s",