Friday, 10 May 2013

Launch czt-ide from the Eclipse and Create a new project

1. After successful import and build of CZT in Ubuntu, we can launch the czt ide from the Eclipse.
  • Select the "net.sourceforge.czt.eclipse.repository" project, and right click the czt-ide.launch file, select the "Run As -> czt-ide"
  • An error about "-XstartOnFirstThread" is not a recognized option for java
  • Just open the Run configuration edit dialog and delete this option in the "Arguments -> VM Arguments"
  • Then launch again. Succeed.
2. Create a new project circus2bcsp
  • Create a new "Java Project" from the Eclipse
    • Input the name "Main" and Package "net.sourceforge.czt.circus2bcsp"
    • Copy the content of Main.java in z2b project and paste to Main.java in this project
  • There's some errors such as "import  net.sourceforge.czt.session.Filesource can be resolved"
  • Open the project properties of circus2bcsp, and go to the Project tab of Java Build Path, add the necessary projects to build together.
  • Then the error will be disappeared

No comments :

Post a Comment