Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » java files in src/main/resources without m2e plugin(don't compile, don't ignore)
java files in src/main/resources without m2e plugin [message #854686] Tue, 24 April 2012 02:47 Go to next message
Eclipse UserFriend
Hi. In m2e projects you can put java to src/main/resources and Eclipse won't compile them, neither complain about bad declared package.
Can I achive the same behavior in plain Eclipse projects?

index.php/fa/8047/0/

Why I need it? I have a Hello world GWT project and I want to test the <super-source/> tag. It requires a java source file on class path with bad declared package, like "foo.jre.java.util"

[Updated on: Tue, 24 April 2012 02:50] by Moderator

Re: java files in src/main/resources without m2e plugin [message #855789 is a reply to message #854686] Wed, 25 April 2012 01:20 Go to previous message
Eclipse UserFriend
You could exclude any folder from building. Right click on the package and select Build path->Exclude.
Previous Topic:How to manipulate the AST?
Next Topic:Update Issue (Indigo)??
Goto Forum:
  


Current Time: Thu Jul 24 11:57:37 EDT 2025

Powered by FUDForum. Page generated in 0.24732 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top