Deleting a Project from a Junos Space Application
You can delete any project that is not required from a Junos
Space Application. In case your application is already
installed and later on you delete some projects from it, you
should uninstall the old application and clean the modified
build application before re-installing it.
To delete a project from Junos Space Application in the
- Right-click on the project, and select the Delete
- Select the "Delete project contents on disk (cannot be
undone)" check box and click OK. This will also delete
all disk files associated with this project.
Deleting Projects and Cleaning References
Projects created in the Junos Space Application are
referenced to each other as specified during application or
additional project creation. Therefore, during deletion, a
project might encounter a missing reference in the existing
projects within the workspace, resulting in compilation errors.
This must be resolved manually by removing the missing
references and dependencies from existing projects. To clean the
dependencies and references of deleted projects, follow the
steps give below.
Resolving the references to the deleted project
- Open the EAR Project's EarContent\META-INF\application.xml
file and remove the module entry of the deleted project from
it, if present.
- Open the EAR Project's .package file and remove the package
entry of the deleted project from it, if present.
- Resolve the reference of the deleted project's resources
such as classes, libraries, and other files from existing
Resolving the dependencies of the deleted project
- Right-click on the project displaying a missing reference
error showing a red cross.
- Click Build Path > Configure Build Path. The
properties for the selected project are displayed.
- In the Projects tab, select the appropriate project.
- Click the Remove button. The project with missing
references is deleted.
- Click OK.
- Repeat steps 1 through 5 for each project that gives a compilation error.