I am beginning to understand why it is so important to go through a release process a couple of times before graduation ;-)
On 17. feb. 2010, at 10.30, Richard Hirsch wrote: > Don't forget that ESME currently only works with JDK 1.6 which might be your > problem. > > There is a note about this in the README. > > D. > > On Wed, Feb 17, 2010 at 9:18 AM, Bertrand Delacretaz <[email protected] >> wrote: > >> Hi, >> >> On Tue, Feb 16, 2010 at 8:12 PM, Richard Hirsch <[email protected]> >> wrote: >>> On Tue, Feb 16, 2010 at 5:28 PM, Bertrand Delacretaz < >> [email protected] >>>> wrote: >> >>>> ... 4) When trying to build esme-java-client with "mvn clean install" I >>>> get "Embedded error: Error while executing the external compiler" if >>>> JAVA_HOME is not set. >>>> >>> >>> How can you deal with this via maven? Is this an ESME problem or a maven >>> problem?... >> >> Looks just like a weird maven-compiler-plugin setup in >> esme-java-client/pom.xml, the patch below fixes it. I get test >> failures then, but that's another story. >> >> -Bertrand >> >> >> Index: pom.xml >> =================================================================== >> --- pom.xml (revision 910855) >> +++ pom.xml (working copy) >> @@ -46,26 +46,6 @@ >> <configuration> >> <verbose>true</verbose> >> <fork>true</fork> >> - <executable>${JAVA_HOME}/bin/javac</executable> >> - <!-- >> - define the JAVA_1_4_HOME property in .m2/settings.xml for >> portability, e.g.: >> - <settings> >> - [...] >> - <profiles> >> - [...] >> - <profile> >> - <id>compiler</id> >> - <properties> >> - <JAVA_1_4_HOME>C:\Program >> Files\Java\j2sdk1.4.2_09</JAVA_1_4_HOME> >> - </properties> >> - </profile> >> - </profiles> >> - [...] >> - <activeProfiles> >> - <activeProfile>compiler</activeProfile> >> - </activeProfiles> >> - </settings> >> - --> >> <compilerVersion>1.4</compilerVersion> >> </configuration> >> </plugin> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >>
