RTC extensions headless build - "String cannot be resolved to a type"
![]()
Hello to the forum members,
I am currently trying without much success to build the features my team developed using ant script. I am following the recommendations mentioned here: http://www-01.ibm.com/support/knowledgecenter/SS8PJ7_7.0.0/org.eclipse.pde.doc.user/guide/tasks/pde_feature_build.htm I get loads of "String cannot be resolved to a type" errors and others suggesting that something maybe wrong with my paths to java. According to recommendation I got, I set the property bootclasspath to include all files in my jre/lib folder. I called in ant to <diagnostics> to make sure that sun.boot.class.path includes all the jars under this folder, including rt.jar. Still, no success. I tried running the same build from Eclipse 4.3.2 (I am working with RTC 5.0.1) and got the same results. Any comments will be warmly appreciated. Thanks, Gidi |
One answer
![]()
I found the answer:
http://www.eclipse.org/forums/index.php/t/655864/ |
Comments
Adding the *.jar files from jre/lib and also jre/bin/compressedrefs/jclSC170/vm.jar into the property JavaSE-1.6 in build.properties solves many of the errors. If anyone knows what is the recommended value for this property, please comment.
I made a small "Hello world" sample plugin and related feature and was able to build it with Eclipse 4.3.2 and Oracle Java. When I switched to IBM Java I got these "String cannot be resolved to a type".
Does anyone knows for any special required setting to run headless builds with IBM Java ?
Thanks,
Gidi