Re: Maven Eclipse plugin does not evaluate systemPath dependency
Unfortunately, the class folder contains over 100,000 .class files (typical Oracle fat)... and since jars can only contain 65K files, this will not work (I'm using Java 5). I guess I can put it in two or more jar files, but that's pretty messy. Also, that still doesn't address why this doesn't work - when it should, as the command line demonstrates. Wayne Fay wrote: > > 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, 8 <[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, 8 <[EMAIL PROTECTED]> wrote: >> > >> >> >> >> I have the following in my pom.xml: >> >> >> >> >> >>oracle.apps >> >>oracle.apps.all >> >>11.5.10 >> >>system >> >>${AF_CLASSPATH} >> >> >> >> >> >> 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: >> >> >> >> >> >> >> >>oracle.apps >> >>oracle.apps.all >> >>11.5.10 >> >>system >> >>c:/oracle/apps >> >> >> >> >> >> 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] > > > -- View this message in context: http://www.nabble.com/Maven-Eclipse-plugin-does-not-evaluate-systemPath-dependency-tp15194043s177p15199253.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]
Re: Maven Eclipse plugin does not evaluate systemPath dependency
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, 8 <[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, 8 <[EMAIL PROTECTED]> wrote: > > > >> > >> I have the following in my pom.xml: > >> > >> > >>oracle.apps > >>oracle.apps.all > >>11.5.10 > >>system > >>${AF_CLASSPATH} > >> > >> > >> 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: > >> > >> > >> > >>oracle.apps > >>oracle.apps.all > >> 11.5.10 > >> system > >>c:/oracle/apps > >> > >> > >> 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]
Re: Maven Eclipse plugin does not evaluate systemPath dependency
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, 8 <[EMAIL PROTECTED]> wrote: > >> >> I have the following in my pom.xml: >> >> >>oracle.apps >>oracle.apps.all >>11.5.10 >>system >>${AF_CLASSPATH} >> >> >> 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: >> >> >> >>oracle.apps >>oracle.apps.all >>11.5.10 >>system >>c:/oracle/apps >> >> >> 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]
Re: Maven Eclipse plugin does not evaluate systemPath dependency
Hi Arnaud, Thanks for the info. I tried that, too. Unfortunately, that didn't work either. Again, both ${AF_CLASSPATH} and ${env.AF_CLASSPATH} work from the command line. 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, 8 <[EMAIL PROTECTED]> wrote: > >> >> I have the following in my pom.xml: >> >> >>oracle.apps >>oracle.apps.all >>11.5.10 >>system >>${AF_CLASSPATH} >> >> >> 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: >> >> >> >>oracle.apps >>oracle.apps.all >>11.5.10 >>system >>c:/oracle/apps >> >> >> 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-tp15194043s177p15195088.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]
Re: Maven Eclipse plugin does not evaluate systemPath dependency
If it is an environment variable it should be ${env.AF_CLASSPATH} ?? Did you try ? Arnaud On Jan 30, 2008 11:49 PM, 8 <[EMAIL PROTECTED]> wrote: > > I have the following in my pom.xml: > > >oracle.apps >oracle.apps.all >11.5.10 >system >${AF_CLASSPATH} > > > 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: > > > >oracle.apps >oracle.apps.all >11.5.10 >system >c:/oracle/apps > > > 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 ...
Maven Eclipse plugin does not evaluate systemPath dependency
I have the following in my pom.xml: oracle.apps oracle.apps.all 11.5.10 system ${AF_CLASSPATH} 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: oracle.apps oracle.apps.all 11.5.10 system c:/oracle/apps 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]