[wildfly-dev] build on Solaris broken now
Stuart Douglas
stuart.w.douglas at gmail.com
Thu Jun 26 22:14:24 EDT 2014
So is this an issue with the download script or with the Maven version
upgrade?
Stuart
Tomaž Cerar wrote:
> Frank,
>
> can you send PR with a fix to download-maven.sh script?
> given that you have solaris at hand it will be probably the easiest.
>
> Thank you,
> tomaz
>
>
> On Thu, Jun 26, 2014 at 11:24 PM, Frank Langelage
> <frank.langelage at osnanet.de <mailto:frank.langelage at osnanet.de>> wrote:
>
> for those who might want to build current 9.0.0-SNAPSHOT from github
> sources on Solaris:
> after commit of checking / downloading maven if needed this currently
> fails with a syntax error in tools/maven/bin/mvn after downloading the
> latest version 3.2.2.
> Maven 3.2.2 's bin/mvn contains incompatible syntax for Solaris /bin/sh
> and perhaps others:
> if [[ -z "$JAVA_HOME" && -x /usr/libexec/java_home ]] ;
> then
> #
> # Apple JDKs
> #
> export JAVA_HOME=$(/usr/libexec/java_home) // here it
> fails
> fi
> ;;
>
> I created a JIRA fpr Apache Maven to change this line to
> export JAVA_HOME=/usr/libexec/java_home
>
> Doing this change after download / unzip in my local repo make the build
> working again for me.
>
> Regards, Frank
>
> _______________________________________________
> wildfly-dev mailing list
> wildfly-dev at lists.jboss.org <mailto:wildfly-dev at lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/wildfly-dev
>
>
> _______________________________________________
> wildfly-dev mailing list
> wildfly-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/wildfly-dev
More information about the wildfly-dev
mailing list