Re: packing in a jar

2010-04-07 Thread Wayne Fay
> I need put some files in different packages and this files are
> ".xml and .wsdl", I can't put it in the resources directory I need
> put a wsdl file in the same package as your relative class. Is it possible?

The correct approach is to build the same directory structure under
resources, and put those files there. They will be packaged into the
same place in the resulting jar alongside the class files.

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: packing in a jar

2010-04-07 Thread David Hoffer
Perhaps I don't understand.  You can put whatever folder structure you
want in resources, it will get included in jar just as you have it
defined.

-Dave

On Wed, Apr 7, 2010 at 2:03 PM, Cleiton Dos Santos Garcia
 wrote:
> Hi,
>
> I need put some files in different packages and this files are ".xml and 
> .wsdl", I can't put it in the resources directory I need put a wsdl file in 
> the same package as your relative class. Is it possible?
> In eclipse it is a default behavior in "export-> jar", packing all .class and 
> xml, or wsdl files.
> Anyone can help me?
>
> Regards,
>
> Cleiton Garcia.
> IT Department
> Fone (0xx47)3276-4167 Fax (0xx47) 3276-4010
> WEG Equipamentos Elétricos S.A.
> www.weg.net
>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



packing in a jar

2010-04-07 Thread Cleiton Dos Santos Garcia
Hi,

I need put some files in different packages and this files are ".xml and 
.wsdl", I can't put it in the resources directory I need put a wsdl file in the 
same package as your relative class. Is it possible?
In eclipse it is a default behavior in "export-> jar", packing all .class and 
xml, or wsdl files.
Anyone can help me?

Regards,

Cleiton Garcia.
IT Department
Fone (0xx47)3276-4167 Fax (0xx47) 3276-4010
WEG Equipamentos Elétricos S.A.
www.weg.net