Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

1

0 votes

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




One answer

Permanent link
I found the answer:
http://www.eclipse.org/forums/index.php/t/655864/

1 vote

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,936
× 457
× 72

Question asked: Feb 25 '15, 9:00 a.m.

Question was seen: 5,618 times

Last updated: Mar 02 '15, 3:43 a.m.

Confirmation Cancel Confirm