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
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
[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
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
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
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
source1.3/source
target1.3/target
compilerArguments
bootclasspath${project.dependencies}/bootclasspath
/compilerArguments
/configuration
/plugin
Matthew Tordoff wrote:
The following page has an example
:
plugin
artifactIdmaven-compiler-plugin/artifactId
configuration
source1.3/source
target1.3/target
compilerArguments
bootclasspath${project.dependencies}/bootclasspath
/compilerArguments
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
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
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
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
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
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
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
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.
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 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
18 matches
Mail list logo