I only know the answer for 2.:

StringBuilder classpath = new StringBuilder(System.getProperty("java.class.path", ""));
classpath.append("What-ever-you-want");
System.setProperty("java.class.path", classpath.toString());

-Gisbert


Guillaume Boucherie wrote:
Hi all,
I have questions about he classpath of maven2 plugin:
  1. How the classpath of a plugin is constructed ?
  2. Is it possible to change it ?
  3. Is it possible to have the generated classes of a project in the
classpath of a plugin ?

Thanks


--
Gisbert Amm
Softwareentwickler Infrastruktur
Telefon: (0721) 91374 - 4224
Telefax: (0721) 91374 - 2740
E-Mail: [EMAIL PROTECTED]
Internet: www.1und1.de

1&1 Internet AG
Elgendorfer Strasse 57
56410 Montabaur

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas Gauger, Thomas Gottschlich, Matthias Greve, Robert Hoffmann, Norbert Lang, Achim Weiss
Aufsichtsratsvorsitzender: Michael Scheeren

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to