Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse WAR builds contains .java files(When building .java files gets included even though export sources are unchecked)
Eclipse WAR builds contains .java files [message #903161] Wed, 22 August 2012 10:33 Go to next message
Ren Hoek is currently offline Ren HoekFriend
Messages: 3
Registered: August 2012
Junior Member
When i export my www project to a WAR file it also puts all my source files in the WAR file

The export source checkbox is unchecked.

Does anyone have any ideas as to why this happens?

Thanks in advance!
Re: Eclipse WAR builds contains .java files [message #903306 is a reply to message #903161] Thu, 23 August 2012 06:15 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

What's the layout of your project? Is there anything unusual about it? Where were the .java files in relation to the .class files?

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Eclipse WAR builds contains .java files [message #903315 is a reply to message #903306] Thu, 23 August 2012 07:04 Go to previous messageGo to next message
Ren Hoek is currently offline Ren HoekFriend
Messages: 3
Registered: August 2012
Junior Member
as far as i know the project is pretty standard

i have taken it over from a colleague
when he builds it with an older version of eclipse it doesnt happen
i have the newest EE (juno) installed

the java files are outputted to the same folder structures as the class files
so they are in the same location
Re: Eclipse WAR builds contains .java files [message #903760 is a reply to message #903315] Sat, 25 August 2012 15:11 Go to previous messageGo to next message
Bryan Liu is currently offline Bryan LiuFriend
Messages: 1
Registered: August 2012
Location: China
Junior Member

As far as I know, I don't konw what it happened.
But maybe you can use "Exclude" item in the "source" tab in "java build path"
Re: Eclipse WAR builds contains .java files [message #903770 is a reply to message #903760] Sat, 25 August 2012 18:20 Go to previous message
Ren Hoek is currently offline Ren HoekFriend
Messages: 3
Registered: August 2012
Junior Member
seems to be a bug in the juno release
Previous Topic:debugging struts using eclipse
Next Topic:Run panel is blank
Goto Forum:
  


Current Time: Tue Apr 23 13:06:51 GMT 2024

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

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

Back to the top