This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

-ccs.overwrite and -ccs.location

Other Parts Discussed in Thread: CCSTUDIO

Specifying '-ccs.overwrite keep' and '-ccs.location <path>' where <path> is valid path cases error:

org.eclipse.core.internal.resources.ResourceException: Invalid project description.
        at org.eclipse.core.internal.resources.Project.checkDescription(Project.java:172)
        at org.eclipse.core.internal.resources.Project.create(Project.java:275)
        at com.ti.ccstudio.apps.project.Create_StdMake.createProject(Create_StdMake.java:256)
        at com.ti.ccstudio.apps.project.Create_StdMake.doRun(Create_StdMake.java:139)
        at com.ti.ccstudio.apps.project.BaseHeadlessApp$1.run(BaseHeadlessApp.java:99)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1719)
        at com.ti.ccstudio.apps.project.BaseHeadlessApp.run(BaseHeadlessApp.java:97)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
        at org.eclipse.core.launcher.Main.run(Main.java:996)
        at org.eclipse.core.launcher.Main.main(Main.java:971)

Are these two options incompatible?

Eugene

  • Did anyone have time to investigate this error?

    Eugene

  • Eugene,

    Eclipse does not allow certain paths for project-location, even though they may be valid file-system locations - it does not allow the path to overlap with the workspace directory or with another project's location.

    Could you give me the complete command you're using to create your project?

    Thanks,

    -Baltasar.

  • Baltasar,

    Let me ask you a contr-question. What are the Eclipse restrictions? I tried path in the WS and above WS at different levels with the same result. For instance:

    "jre\\bin\\java\" -jar startup.jar -data "C:\A\B\C\WS" -application com.ti.ccstudio.apps.projectCreate_stdMake -ccs.overwrite keep <options>

    where options were

    -ccs.buildLocation "C:\A\B\C\WS"

    -ccs.buildLocation "C:\A\B\C"

    -ccs.buildLocation "C:\A\B\C\Build"

    Which ones are not valid?

    Eugene