Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 06:47 Go to next message
Ilya Basin is currently offline Ilya Basin
Messages: 8
Registered: October 2011
Junior Member
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 06:50]

Report message to a moderator

Re: java files in src/main/resources without m2e plugin [message #855789 is a reply to message #854686] Wed, 25 April 2012 05:20 Go to previous message
Satyam Kandula is currently offline Satyam Kandula
Messages: 444
Registered: July 2009
Senior Member
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 Oct 23 17:30:30 GMT 2014

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

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