Hello, on Mittwoch, 6. Juli 2011, Duncan Mac-Vicar P. wrote:
One solution I was thinking was to create a helper package installing an alias in /etc/profile.d so that ant becomes ant -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5. Add this package to the project config surrounded by if sle_version. A similar alias would be added for mvn-jpp. However I could not get this to work with rpm.
Hmm, does the build process honor/read files in /etc/profile.d? I somehow doubt, but I did not test/verify it. I'd suggest to write a small /usr/local/bin/ant script that calls /usr/bin/ant with the correct parameters. A small test build (home:cboltz test) on Factory gives me: PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:. Regards, Christian Boltz -- hm. I've lost a machine.. literally _lost_. it responds to ping, it works completely, I just can't figure out where in my apartment it is. [http://bash.org/?5273] -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org