You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Cleiton Dos Santos Garcia <cl...@weg.net> on 2010/04/07 22:03:37 UTC
packing in a jar
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<http://www.weg.net/>
Re: packing in a jar
Posted by Wayne Fay <wa...@gmail.com>.
> 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-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: packing in a jar
Posted by David Hoffer <dh...@gmail.com>.
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
<cl...@weg.net> 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<http://www.weg.net/>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org