Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be 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