Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Publish does not include xml files in war/ejb-jar
Publish does not include xml files in war/ejb-jar [message #219688] Wed, 27 August 2008 11:58 Go to next message
Florian Reiser is currently offline Florian Reiser
Messages: 25
Registered: July 2009
Junior Member
Hello,

I'm using jboss-4.2.2GA with Eclipse Ganymede and java 1.5.
When I publish my ear-file to jboss the included ejb-jar doesn't include
the following files:
- persistence.xml
- orm.xml
- ejb-jar.xml

In war files the *.hbm.xml files from hibernate are missing.

What can I get the publish mechanism working?

Greets
Florian
Re: Publish does not include xml files in war/ejb-jar [message #219696 is a reply to message #219688] Wed, 27 August 2008 13:50 Go to previous messageGo to next message
Vadim Dmitriev is currently offline Vadim Dmitriev
Messages: 74
Registered: July 2009
Member
Hi.

Go to Eclipse preferences -> "java" -> "compiler" -> "building" ->
"output folder". Check "filtered resources" field there. Maybe it
contains "*.xml" filter, which prevents XML's to be included into built
archives.
Re: Publish does not include xml files in war/ejb-jar [message #219702 is a reply to message #219696] Wed, 27 August 2008 16:04 Go to previous message
Florian Reiser is currently offline Florian Reiser
Messages: 25
Registered: July 2009
Junior Member
That was the solution. Thanks :)

Greets
Florian
Previous Topic:Getting tag files from a TLDDocument
Next Topic:Removing Node from StructuredTextEditor
Goto Forum:
  


Current Time: Thu Oct 23 19:34:29 GMT 2014

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

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