Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

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

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

Back to the top