Whoops! That actually seems to work. Ok, I guess problem is solved! Thanx!

Clifton wrote:
> 
> Ok that helps a little. Still I'm looking for the right expression for
> evaluating the dependencies (or even better select dependencies) as a path
> expression. This is what I have so far:
>          <plugin>
>             <artifactId>maven-compiler-plugin</artifactId>
>             <configuration>
>                <source>1.3</source>
>                <target>1.3</target>
>                <compilerArguments>
>                   <bootclasspath>${project.dependencies}</bootclasspath>
>                </compilerArguments>
>             </configuration>
>          </plugin>
> 
> 
> 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
>> 
>> 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 
>> 
>> -----Original Message-----
>> From: Clifton [mailto:[EMAIL PROTECTED] 
>> Sent: 24 January 2008 15:58
>> To: users@maven.apache.org
>> Subject: Setting the javac bootclasspath using dependencies
>> 
>> 
>> 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 classpath. I just tried checking these jars into artifactory
>> (our local
>> repo) setting a dependency on them and then using the following
>> expression for the compilerArguments tag:
>> "-Dbootclasspath=${project.dependencies}"
>> 
>> The expression returns a list of dependencies and doesn't format
>> correctly.
>> Am I missing something?
>> --
>> View this message in context:
>> http://www.nabble.com/Setting-the-javac-bootclasspath-using-dependencies
>> -tp15067527s177p15067527.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> 
>> 
>> The content of this e-mail is confidential and may be privileged. It may
>> be read, copied and used only by the intended recipient and may not be
>> disclosed, copied or distributed. If you received this email in error,
>> please contact the sender immediately by return e-mail or by telephoning
>> +44 20 7260 2000, delete it and do not disclose its contents to any
>> person. You should take full responsibility for checking this email for
>> viruses. Markit reserves the right to monitor all e-mail communications
>> through its network.
>> Markit and its affiliated companies make no warranty as to the accuracy
>> or completeness of any information contained in this message and hereby
>> exclude any liability of any kind for the information contained herein.
>> Any opinions expressed in this message are those of the author and do not
>> necessarily reflect the opinions of Markit.
>> For full details about Markit, its offerings and legal terms and
>> conditions, please see Markit's website at http://www.markit.com
>> <http://www.markit.com/> .
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Setting-the-javac-bootclasspath-using-dependencies-tp15067527s177p15072526.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to