Hi,
In your ant build, how do you setup your two jars?
Is there a config file that should be changed for the debug infos?
Or do you need to compile once for two jars? or do you recompile for the
second jar?
Or both?
Please provide more info and maybe we can help.
^_^
Paolo Perrucci
Hi Edwin,
in my existing ant build I have two tasks that compile the same sources
(with different options) and create the jar files.
I have a task named "build" that call sequentially the tasks
"build_release" and "build_debug".
After calling the "build" task I have two jars: .jar and
.jar. Th
Thanks, I get what you want to do.
But how do you produce the two different jars? How do you set the
"different options" that you said with ant? is there a config file or a
command-line argument that "build_release" and "build_debug" uses?
Paolo Perrucci wrote:
Hi Edwin,
in my existing a
Sounds to me like he's setting the compiler debug flag depending on the
build.
-Original Message-
From: Edwin Punzalan [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 26, 2006 8:43 PM
To: Maven Users List
Subject: Re: [m2] How to create multiple jars
Thanks, I get what you want
create 2 projects using same source tree ( change project.build.sourceRoot
of both project point to the same tree) then tinker with the compiler plugin
configuration.
but you must have 2 diffrent artifact ids thou
-Dan
On 1/26/06, Edwin Punzalan <[EMAIL PROTECTED]> wrote:
>
> Thanks, I get wha
Hi Edwin,
this is an extract of my build.xml that create the "debug" jar:
classpathref="classpath"/>
As you can see I use the javac ant task option to include/exclude the
debug infos.
Paolo
Edwin Punzalan ha scritto:
Thanks, I get what you want to do.
But how do you produce the tw
0 ext 2011
Yahoo: ruelloehr
Skype: ruelloehr
AOL: dokoruel
-Original Message-
From: Brian E. Fox [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 26, 2006 9:49 PM
To: Maven Users List
Subject: RE: [m2] How to create multiple jars
Sounds to me like he's setting the compiler debug flag
Hi,
This is what I have in mind about that...
But first you should know how to configure the compiler plugin to use
enable debug. I think the parameter debug is already deprecated. More
info on compiler plugin configurations can be found here:
http://maven.apache.org/plugins/maven-compiler