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.
Not able to import CCS3.3 project in to CCS4 using command line.
First trial, as given in wiki link... ( http://processors.wiki.ti.com/index.php/Projects_-_Command_Line_Build/Create )
--------------------------------------------------------------------------------------------------------------------------
C:\Program Files\Texas Instruments\ccsv4\eclipse>jre\bin\java -jar startup.jar -
data "C:\tidcs\c28\DSP2803x\v121\DSP2803x_examples\adc_soc" -application com.ti.
ccstudio.apps.legacyProjectImport -ccs.location "C:\tidcs\c28\DSP2803x\v121\DSP2
803x_examples\adc_soc"
Usage:
java -jar startup.jar
-data <workspace_dir>
-application com.ti.ccstudio.apps.legacyProjectImport
-ccs.pjtFile [<options>]
where options include:
-ccs.pjtFile <path>
Absolute path to the PJT file of the legacy project.
-ccs.commonRoot <pathVariableName> <path>
Define a common root for resolving files, external to
project, in a consistent and portable way (optional).
-ccs.definePathVariable <name> <value>
Defines the given path-variable for resolving portable l
inked file paths (optional).
(also defines a global build-macro with the same name
and value).
-ccs.copyIntoWorkspace
Copy project folder and contents into the workspace dire
ctory (optional).
Defaults to 'false'.
-ccs.createSubdirectory
If '-ccs.copyIntoWorkspace' is not specified, this flag
would
create a subfolder for each Eclipse project at the or
iginal location
of the PJT file (optional).
Defaults to 'false'.
-ccs.overwrite
Forces overwrite of existing file-system resources (opti
onal).
-ccs.args <file>
File containing any extra arguments (optional).
-ccs.help
Print this help message.
------------------------------------------------------------------------------------------------------
Second trial, as suggested in above response..
C:\Program Files\Texas Instruments\ccsv4\eclipse>jre\bin\java -jar startup.jar -
data "C:\tidcs\c28\DSP2803x\v121\DSP2803x_examples\adc_soc" -application com.ti.
ccstudio.apps.legacyProjectImport -ccs.pjtFile "C:\tidcs\c28\DSP2803x\v121\DSP28
03x_examples\adc_soc\Example_2803xAdcSoc.pjt" -ccs.location "C:\tidcs\c28\DSP280
3x\v121\DSP2803x_examples\adc_soc" -ccs.copyIntoWorkspace
--------------------------------------------------------------------------------
Importing legacy project 'C:/tidcs/c28/DSP2803x/v121/DSP2803x_examples/adc_soc/E
xample_2803xAdcSoc.pjt'...
java.lang.NullPointerException
at com.ti.ccstudio.project.core.services.ProjectImporter.internalImportL
egacyProject(ProjectImporter.java:231)
at com.ti.ccstudio.project.core.services.ProjectImporter.importLegacyPro
ject(ProjectImporter.java:214)
at com.ti.ccstudio.apps.project.LegacyImport.doRun(LegacyImport.java:83)
at com.ti.ccstudio.apps.project.BaseHeadlessApp$1.run(BaseHeadlessApp.ja
va:193)
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.internalRun(BaseHeadless
App.java:191)
at com.ti.ccstudio.apps.project.BaseHeadlessApp.run(BaseHeadlessApp.java
:156)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformAct
ivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAppli
cation(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ec
lipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va: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)
-----------------------------------------------------------------------------------------------------------
Could not able to import successfully. No project files are created.
Command line based new project creation works fine.
Additional information
CCS version : Version: 4.2.3.00004
com.ti.cgt.c2000.5.2, Version: 5.2.10