Can you perhaps jar up the classes in that path, and then specify the
full jar name, or even better check it into your local Maven repo
cache using install:install-file?

Wayne

On 1/30/08, zzzz8 <[EMAIL PROTECTED]> wrote:
>
> 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]
>
>

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

Reply via email to