Re: bootclasspath as a dependency

2008-08-12 Thread Brett Porter
exec-maven-plugin. > > Cheers, > Alex > > Brett Porter wrote: >> >> at which point do you need it in the boot classpath? For your unit >> tests, or a plugin? >> >> Cheers, >> Brett >> >> 2008/8/12 Alex <[EMAIL PROTECTED]>: >>

Re: bootclasspath as a dependency

2008-08-12 Thread Alex
2 Alex <[EMAIL PROTECTED]>: Hi, Is there a way to specify a bootclasspath as a dependency? I've been looking for it for a while but I haven't found a solution yet. What I'd like to have would be something as follows: pom.xml -> javax.xml.bind jaxb-api 2.1 Meanwhil

Re: bootclasspath as a dependency

2008-08-12 Thread Brett Porter
at which point do you need it in the boot classpath? For your unit tests, or a plugin? Cheers, Brett 2008/8/12 Alex <[EMAIL PROTECTED]>: > Hi, > > Is there a way to specify a bootclasspath as a dependency? > I've been looking for it for a while but I haven't found a s

bootclasspath as a dependency

2008-08-12 Thread Alex
Hi, Is there a way to specify a bootclasspath as a dependency? I've been looking for it for a while but I haven't found a solution yet. What I'd like to have would be something as follows: pom.xml -> javax.xml.bind jaxb-api 2.1 Meanwhile I've set MANVEN_OPTS, bu

RE: Setting the javac bootclasspath using dependencies

2008-01-24 Thread Clifton
>> >> The following page has an example of setting the bootclasspath: >> >> http://maven.apache.org/plugins/maven-compiler-plugin/examples/pass-comp >> iler-arguments.html >> >> It seems to not use the -D before the parameter, im not sure if this is >> partl

RE: Setting the javac bootclasspath using dependencies

2008-01-24 Thread Clifton
1.3 ${project.dependencies} Matthew Tordoff wrote: > > The following page has an example of setting the bootclasspath: > > http://maven.apache.org/plugins/maven-compiler-plugin/examples/pass-comp > iler-arguments.html >

RE: Setting the javac bootclasspath using dependencies

2008-01-24 Thread Matthew Tordoff
The following page has an example of setting the bootclasspath: http://maven.apache.org/plugins/maven-compiler-plugin/examples/pass-comp iler-arguments.html It seems to not use the -D before the parameter, im not sure if this is partly to blame for the problems you are experiencing. Matt

Setting the javac bootclasspath using dependencies

2008-01-24 Thread Clifton
What's the best, most painless way to set the bootclasspath for the maven-compiler-plugin? I'm trying to break out some shared code between my J2ME midlet module and my servlet module into a shared module that builds a jar. I'd like the compiler to use the midp20 and cldc11 j

Maven2: Adding dependencies to javac bootclasspath.

2006-03-24 Thread Scott Tailor
I have two jar files that need to be added to javac -bootclasspath before the jdk's rt.jar file in order for the project to compile. What is the best way of achieving that using Maven2? I can't find anyway of specifing this in the dependency section so right now I'm doin

Re: bootclasspath jars

2005-06-06 Thread Brett Porter
I've got a maven project that builds a jar that must always appear in the > bootclasspath. It's a patch for java.nio, and there's now way to get stuff > working with it added to the normal classpath. Is there some way in the > project.xml file to indicate this so that wheneve

bootclasspath jars

2005-06-06 Thread Matthew Pocock
Hi, I've got a maven project that builds a jar that must always appear in the bootclasspath. It's a patch for java.nio, and there's now way to get stuff working with it added to the normal classpath. Is there some way in the project.xml file to indicate this so that whenever

Re: bootclasspath from dependency

2004-07-07 Thread Joachim Bader
On Wednesday 07 July 2004 05:23, Brett Porter wrote: > try ${pom.getDependencyPath('ajof:ajof')} this work, thanks > Probably won't work in a properties file (not sure though) - in which > case it needs to be in maven.xml > ... regards, Joachim -

Re: bootclasspath from dependency

2004-07-06 Thread Brett Porter
t's necessary to overwrite the bootclasspath > of the compiler. > > I do this with a property in my project.properties file: > maven.compile.compilerargs=-bootclasspath ${basedir}/lib/classes.zip: > ${basedir}/lib/ajof.zip > > disadvantage: I have to keep the bootclassp

bootclasspath from dependency

2004-07-06 Thread Joachim Bader
Hi, for developing J2ME application it's necessary to overwrite the bootclasspath of the compiler. I do this with a property in my project.properties file: maven.compile.compilerargs=-bootclasspath ${basedir}/lib/classes.zip: ${basedir}/lib/ajof.zip disadvantage: I have to kee

Bootclasspath

2003-12-04 Thread Alain Javier Guarnieri del Gesu
How does one specify the the bootclasspath to the java task? I don't see it in the java plugin code. I've hard coded my custom bootclasspath into a copy of the plugin. Even better than setting a bootclasspath would be the ability to prepend jars to the bootclasspath specified by javac.

RE: Bootclasspath ?

2003-10-07 Thread Mike Gilbert
o see Maven used in academia. > -Original Message- > From: Dominik Dahlem [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 07, 2003 4:03 PM > To: [EMAIL PROTECTED] > Cc: Maven User Mailing List (E-mail) > Subject: Re: Bootclasspath ? > > > I don't know, if

Re: Bootclasspath ?

2003-10-07 Thread Dominik Dahlem
I don't know, if this is gonna help you. Find attached a j2me plugin. A guy called Thiago ([EMAIL PROTECTED]) sent it to me a while ago. I haven't tested it yet though. "It wraps the tasks of the Antenna (http://antenna.sourceforge.net), and it needs the 0.9.10 version of antenna in the $maven.re

Bootclasspath ?

2003-10-07 Thread Mike Gilbert
Folks, I'm doing some work with J2ME and Maven and right now there seems to be no way to override the boot classpath unless you override the java:compile goal. Am I correct or have I missed something ? Many thanks for any suggestions, Mike Gilbert --- Outgoing mail is certified Virus Free. Ch