Re: [mevenide-user] Latest embedded Maven not expanding paths
"Milos Kleint" <[email protected]> Sat, 19 Apr 2008 22:30:15 +0200
| Newsgroups | gmane.comp.jakarta.turbine.maven.mevenide.user |
|---|---|
| Message-ID | <[email protected]> |
it was a bit more complicated than that. Maven source base had to be fixed as well. Should be working now in #383 and later. Milos On Wed, Apr 16, 2008 at 12:37 PM, Milos Kleint <[email protected]> wrote: > hi daniel, > thanks for trying out so fast.. > > my bad. I haven't included the variables in the embedder instance that > loads projects. I'll do that ASAP. > > Milos > > On Wed, Apr 16, 2008 at 11:13 AM, Daniel Mutch > > > <[email protected]> wrote: > > > > Hi Milos > > > > Ok if i now add env. it fixes the build process, however, I get a project > > marked as <Badly formed Maven project> which i guess means the env variables > > are not available to the parser? > > > > I think this is caused by our friend the system depenency defined as > > follows: > > > > <profiles> > > <profile> > > <id>default-tools.jar</id> > > <activation> > > <property> > > <name>java.vendor</name> > > <value>Sun Microsystems Inc.</value> > > </property> > > </activation> > > <dependencies> > > <dependency> > > <groupId>com.sun</groupId> > > <artifactId>tools</artifactId> > > <version>1.6.0</version> > > <scope>system</scope> > > <type>jar</type> > > > > <systemPath>${env.JAVA_6_HOME}/lib/tools.jar</systemPath> > > </dependency> > > </dependencies> > > </profile> > > </profiles> > > > > However all works fine at compile time. > > > > cheers > > Dan > > > > > > > > > > Milos Kleint wrote: > > > > > > hello Daniel, > > > > > > I've checked with a maven dev (jdcasey) and he claimed that the > > > ${JAVA_6_HOME} probably just worked by coincidence before and that the > > > correct way of referencing env variables is ${env.JAVA_6_HOME} > > > I've checked our embedded execution code and figured we don't add the > > > env. variable properties to the execution so I fixed that. > > > http://fisheye.codehaus.org/changelog/mevenide/?cs=5151 > > > > > > I'm wondering if you could try gettting the latest builds and check if > > > it works now > > > http://deadlock.netbeans.org/hudson/job/mevenide/ > > > either with the previous setup you had and/or with the "env." string > > > prepanded > > > > > > Thanks > > > > > > Milos > > > > > > > > > On Tue, Apr 15, 2008 at 10:09 AM, Daniel Mutch > > > <[email protected]> wrote: > > >> > > >> > > >> Yes, our build files already contain these paths and have always happily > > >> used them. > > >> > > >> > > >> > > >> > > >> Milos Kleint wrote: > > >> > > > >> > you mean the http://deadlock.netbeans.org/hudson/job/mevenide/376/ > > >> > build doesn't while any previous builds did? > > >> > > > >> > Milos > > >> > > > >> > On Tue, Apr 15, 2008 at 3:34 AM, Daniel Mutch > > >> > <[email protected]> wrote: > > >> >> > > >> >> Hi Milos > > >> >> > > >> >> Probably just FYI but it seems the latest embedded maven in mevenide > > >> >> build > > >> >> #376 is not expanding paths that contain system variables > > >> >> > > >> >> e.g. ${JAVA_6_HOME}/bin/javac > > >> >> > > >> >> fails to resolve. > > >> >> > > >> >> Shame I really want to try out the new configurations functionality > > >> as I > > >> >> currently use a lot of custom goals to try and achieve a similar > > >> >> thing... > > >> >> > > >> >> Rolling back ;) > > >> >> > > >> >> > > >> >> -- > > >> >> View this message in context: > > >> >> > > >> http://www.nabble.com/Latest-embedded-Maven-not-expanding-paths-tp16693310p16693310.html > > >> >> Sent from the mevenide - user mailing list archive at Nabble.com. > > >> >> > > >> >> > > >> >> > > >> --------------------------------------------------------------------- > > >> >> To unsubscribe from this list, please visit: > > >> >> > > >> >> http://xircles.codehaus.org/manage_email > > >> >> > > >> >> > > >> >> > > >> > > > >> > --------------------------------------------------------------------- > > >> > To unsubscribe from this list, please visit: > > >> > > > >> > http://xircles.codehaus.org/manage_email > > >> > > > >> > > > >> > > > >> > > > >> > > >> -- > > >> View this message in context: > > >> http://www.nabble.com/Latest-embedded-Maven-not-expanding-paths-tp16693310p16697259.html > > >> > > >> > > >> Sent from the mevenide - user mailing list archive at Nabble.com. > > >> > > >> > > >> --------------------------------------------------------------------- > > >> To unsubscribe from this list, please visit: > > >> > > >> http://xircles.codehaus.org/manage_email > > >> > > >> > > >> > > > > > > --------------------------------------------------------------------- > > > To unsubscribe from this list, please visit: > > > > > > http://xircles.codehaus.org/manage_email > > > > > > > > > > > > > > > > -- > > View this message in context: http://www.nabble.com/Latest-embedded-Maven-not-expanding-paths-tp16693310p16719503.html > > > > > > Sent from the mevenide - user mailing list archive at Nabble.com. > > > > > > --------------------------------------------------------------------- > > To unsubscribe from this list, please visit: > > > > http://xircles.codehaus.org/manage_email > > > > > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email