Skip to main content


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 BasinFriend
Messages: 25
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 KandulaFriend
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: Sat Apr 27 02:28:44 GMT 2024

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

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

Back to the top