Jump to: navigation, search

JET FAQ What does "Error: Invalid Java source folder:" mean?

Revision as of 03:29, 23 July 2007 by Aleks dworak.fr.ibm.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Question

In my jet templates, I do use jet tags to create a project and java packages or files, using <java:package> for example. But when I run my transformation, I get a "Error: Invalid Java source folder". Why ?

Answer

Creating java items like package or java sources files requires your target project to have a Java Nature.

You have two solutions for that : - generate into an existing "java project" - apply the project Nature in the jet transformation, using Eclipse API or applying the needed setting using the .project file.

Back to the M2T-JET-FAQ