|
From: Dave H. <DH...@xr...> - 2006-10-05 16:37:13
|
Yes, this is perfect. I will give this a try.
-dh
-----Original Message-----
From: wra...@li...
[mailto:wra...@li...] On Behalf Of Leif
Mortenson
Sent: Thursday, October 05, 2006 12:01 PM
To: wra...@li...
Subject: Re: [Wrapper-user] JWS & maven2 usage II
Dave,
The Wrapper builds up a classpath which is compatible with the=20
standard Java
classpath argument. This means that you can add directories. But=20
those directories
become classpath entries for unjared class files.
The Wrapper does go one step farther in that it will expand=20
wildcards at run time.
This means that you can do the following:
wrapper.java.classpath.1=3D../lib/*.jar
This is what I usually do for my applications and it works like a
charm.
Will this work for you?
Cheers,
Leif
Dave Hoffer wrote:
>
> Is it possible to specify the java.classpath in the wrapper.conf file=20
> by specifying a directory? I want it to include all jars in a=20
> specified folder. This would be another way to solve the problem of=20
> using JWS with maven.
>
> =20
>
> -dh
>
> =20
>
>
------------------------------------------------------------------------
>
> *From:* Dave Hoffer
> *Sent:* Wednesday, October 04, 2006 7:42 PM
> *To:* 'wra...@li...'
> *Subject:* JWS & maven2 usage
>
> =20
>
> I would like to use JWS in a maven2 build environment. =20
>
> =20
>
> Usage of JWS requires manual configuration of the=20
> wrapper.java.classpath.X section of the wrapper.conf file. Maven=20
> build systems put the version of the artifacts in the jar file names.=20
> These means that the list of jar names to be added to the conf file=20
> changes often. This should be dynamic so that these dependencies are=20
> automatically added to the conf file.
>
> =20
>
> Has there been any work done on a JWS plugin for maven that can=20
> automatically configure the conf file?
>
> =20
>
> -David
>
> =20
>
------------------------------------------------------------------------
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D=
DEVDE
V
_______________________________________________
Wrapper-user mailing list
Wra...@li...
https://lists.sourceforge.net/lists/listinfo/wrapper-user
|