-
15. Re: Forge install switchyard issue
mageshbk Jul 5, 2012 4:37 AM (in response to mageshbk)I tested with the Beta1 bits and the installer worked fine.
<plugin api-version="1.0.2.Final" name="org.switchyard.switchyard-forge-plugin" slot="0.5.0.Beta1"/>
-
16. Re: Forge install switchyard issue
objectiser Jul 5, 2012 5:13 AM (in response to mageshbk)Hi Magesh
This is the output from the forge install:
request-forge-install: [input] Would you like to install the SwitchYard Forge Module (y/n)? ([y], n) y check-forge-home: request-forge-home: set-forge-home: validate-forge-home-version: download-sy-forge-module-check: download-sy-tools-check: download-sy-tools: [echo] Downloading SwitchYard Tools Bundle ... [get] Getting: https://hudson.jboss.org/hudson/job/SwitchYard-Release/lastSuccessfulBuild/artifact/tools/dist/target/switchyard-tools.zip [get] To: /home/gbrown/tools/jboss/switchyard-installer-0.5/res/switchyard-tools.zip extract-sy-tools-forge: [unzip] Expanding: /home/gbrown/tools/jboss/switchyard-installer-0.5/res/switchyard-tools.zip into /home/gbrown/tools/jboss/switchyard-installer-0.5/res download-sy-forge-module: install-forge: [echo] Creating switchyard directory... [echo] Unzipping switchyard forge plugin module... [unzip] Expanding: /home/gbrown/tools/jboss/switchyard-installer-0.5/res/switchyard-forge-plugins.zip into /home/gbrown/.forge/plugins/org/switchyard [echo] Unzipped SwitchYard forge plugin. [echo] Installing forge plugin to /home/gbrown/.forge ... [java] java.lang.NullPointerException [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:194) [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:771) [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:221) [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135)
This is using the beta1 installer. As you can see it loads the switchyard-tools.zip from hudson. This gets unpacked in the res folder, which puts the switchyard-forge-plugins.zip into that folder - this is the zip that gets expanded in the .forge folder.
When I look in the switchyard-forge-plugins.zip, I see 0.5.0-SNAPSHOT as the version.
If you check https://hudson.jboss.org/hudson/job/SwitchYard-Release/changes you will see that the version was reverted back to 0.5.0-SNAPSHOT - so looks like pulling the artifacts from hudson is not necessarily a good idea
Regards
Gary
-
17. Re: Forge install switchyard issue
objectiser Jul 5, 2012 5:18 AM (in response to objectiser)Created jira: https://issues.jboss.org/browse/SWITCHYARD-907
-
18. Re: Forge install switchyard issue
mageshbk Jul 5, 2012 6:01 AM (in response to objectiser)Cool. That I did not notice, thanks!
-
19. Re: Forge install switchyard issue
kcbabo Jul 5, 2012 7:34 AM (in response to mageshbk)Pulling from Hudson is a good idea for nightlies, but you're spot on that it's a bad idea for releases. :-) Just need to incorporate the URL update into the release process. Thanks for digging this up.