The Intranet is a black hole... documents can only go in never to be found again.
I needed to go back 3 months in my browsing history to find this, because why should it be
found with keywords like upstream or downstream :P
https://home.corp.redhat.com/wiki/working-downstream-and-upstream-parallel
Have fun,
Noam.
----- Original Message -----
From: "Ofri Masad" <omasad(a)redhat.com>
To: "Laszlo Hornyak" <lhornyak(a)redhat.com>, "Noam Slomianko"
<nslomian(a)redhat.com>
Cc: engine-devel(a)ovirt.org, "Alissa Bonas" <abonas(a)redhat.com>
Sent: Tuesday, November 27, 2012 9:10:48 AM
Subject: Re: [Engine-devel] maven settings.xml in building ovirt engine wiki
Hi,
I can't seem to find it, but i think there was a wiki page about working with multiple
environments (Upstream/Downstream/ZStream...)
Currently I'm using soft links to the setting.xml and .m2 repo. That way i can jump
safely and quickly between environments.
The paths are hard codded in the xml but i have few xml files ponting to different jdk and
jboss.
----- Original Message -----
From: "Laszlo Hornyak" <lhornyak(a)redhat.com>
To: "Alissa Bonas" <abonas(a)redhat.com>
Cc: engine-devel(a)ovirt.org
Sent: Monday, November 26, 2012 6:52:52 PM
Subject: Re: [Engine-devel] maven settings.xml in building ovirt engine wiki
Hi,
That too could work, but once it already needs to be in the settings.xml, why would you
want another configuration file (like .bashrc)?
----- Original Message -----
From: "Alissa Bonas" <abonas(a)redhat.com>
To: engine-devel(a)ovirt.org
Sent: Monday, November 26, 2012 10:15:14 AM
Subject: [Engine-devel] maven settings.xml in building ovirt engine wiki
Hi,
In this wiki
http://wiki.ovirt.org/wiki/Building_oVirt_engine
The suggested maven settings.xml contains hardcoded paths to
jboss_home and java_home.
IMHO it's better to use environment variables to take the above
settings from there, instead of managing those settings twice in 2
different places.
The current settings look like this (note that java path is incorrect
anyway, including /bin/java)
<jbossHome>/usr/share/jboss-as</jbossHome>
<JAVA_HOME>/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.0.x86_64/bin/java</JAVA_HOME>
How about changing settings.xml to something like:
<jbossHome>${env.JBOSS_HOME}</jbossHome>
<JAVA_HOME>${env.JAVA_HOME}</JAVA_HOME>
Does anyone see a problem with the suggested approach?
Thanks
Alissa
_______________________________________________
Engine-devel mailing list
Engine-devel(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________
Engine-devel mailing list
Engine-devel(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel