Oops, I forgot to post the Eclipse error displayed:
Required library cannot denote external folder: 'C:\oracle\apps' for project
'MyProgram'
Obviously, c:\oracle\apps points to a class folder... hmm.
Arnaud HERITIER wrote:
>
> If it is an environment variable it should be ${env.AF_CLASSPATH} ??
> Did you try ?
>
> Arnaud
>
> On Jan 30, 2008 11:49 PM, zzzz8 <[EMAIL PROTECTED]> wrote:
>
>>
>> I have the following in my pom.xml:
>>
>> <dependency>
>> <groupId>oracle.apps</groupId>
>> <artifactId>oracle.apps.all</artifactId>
>> <version>11.5.10</version>
>> <scope>system</scope>
>> <systemPath>${AF_CLASSPATH}</systemPath>
>> </dependency>
>>
>> The ${AF_CLASSPATH} should evaluate the environment variable AF_CLASSPATH
>> to
>> c:\oracle\apps (where my class folder is). However, it doesn't seem to
>> do
>> that. It even fails if I hard code the directory into the systemPath:
>>
>>
>> <dependency>
>> <groupId>oracle.apps</groupId>
>> <artifactId>oracle.apps.all</artifactId>
>> <version>11.5.10</version>
>> <scope>system</scope>
>> <systemPath>c:/oracle/apps</systemPath>
>> </dependency>
>>
>> Interestingly, both techniques work from the Maven command line, thus
>> leading me to believe there's something wrong with the Maven Eclipse
>> plugin...
>> --
>> View this message in context:
>> http://www.nabble.com/Maven-Eclipse-plugin-does-not-evaluate-systemPath-dependency-tp15194043s177p15194043.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]
>>
>>
>
>
> --
> ..........................................................
> Arnaud HERITIER
> ..........................................................
> OCTO Technology - aheritier AT octo DOT com
> www.octo.com | blog.octo.com
> ..........................................................
> ASF - aheritier AT apache DOT org
> www.apache.org | maven.apache.org
> ...........................................................
>
>
--
View this message in context:
http://www.nabble.com/Maven-Eclipse-plugin-does-not-evaluate-systemPath-dependency-tp15194043s177p15195467.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]