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 - bootDependency groupIdjavax.xml.bind/groupId artifactIdjaxb-api/artifactId version2.1

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 solution yet. What I'd like

Re: bootclasspath as a dependency

2008-08-12 Thread 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 - bootDependency groupIdjavax.xml.bind/groupId artifactIdjaxb-api/artifactId

Re: bootclasspath as a dependency

2008-08-12 Thread 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]: 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

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 jars on the boot

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

RE: Setting the javac bootclasspath using dependencies

2008-01-24 Thread Clifton
source1.3/source target1.3/target compilerArguments bootclasspath${project.dependencies}/bootclasspath /compilerArguments /configuration /plugin Matthew Tordoff wrote: The following page has an example

RE: Setting the javac bootclasspath using dependencies

2008-01-24 Thread Clifton
: plugin artifactIdmaven-compiler-plugin/artifactId configuration source1.3/source target1.3/target compilerArguments bootclasspath${project.dependencies}/bootclasspath /compilerArguments

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 doing the following

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 it appears

Re: bootclasspath jars

2005-06-06 Thread Brett Porter
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 it appears as a dependancy, it is included

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

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 keep

Re: bootclasspath from dependency

2004-07-06 Thread Brett Porter
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 bootclasspath files in my project tree. It would be nice if I can get

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. I'm on OS

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.

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

RE: Bootclasspath ?

2003-10-07 Thread Mike Gilbert
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 this is gonna help you. Find attached a j2me