[jbosstools-issues] [JBoss JIRA] (JBDS-2823) Scripted install is broken on windows
Nick Boldt (JIRA)
jira-events at lists.jboss.org
Thu Nov 7 09:42:02 EST 2013
[ https://issues.jboss.org/browse/JBDS-2823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921308#comment-12921308 ]
Nick Boldt edited comment on JBDS-2823 at 11/7/13 9:41 AM:
-----------------------------------------------------------
Looks like two issues:
a) you have no writeable c:\temp folder, so the script can't create c:\temp\%installDir%.install.xml.
b) I've assumed that you have JDK 7 installed here:
set JREPATH=c:\Progra~1\java\jre7\bin\java
Since you do not, you need to pass in your JDK 6 path to the script. I would add a check for "is this a valid JDK path?" but I don't know how to parse your PATH on windows to check for a valid JDK path in there.
FWIW, this limitation is stated on the usage page [1]:
{quote}
Note that you can either specify a Java developer kit or use the default one in the script (c:\progra~1\java\jre7\bin\java for Microsoft Windows operating systems or /usr/bin/java for OS X and Linux-based operating systems).
{quote}
[1] https://devstudio.jboss.com/usage/scripted-install/
was (Author: nickboldt):
Looks like two issues:
a) you have no writeable c:\temp folder, so the script can't create c:\temp\%installDir%.install.xml.
b) I've assumed that you have JDK 7 installed here:
set JREPATH=c:\Progra~1\java\jre7\bin\java
Since you do not, you need to pass in your JDK 6 path to the script. I would add a check for "is this a valid JDK path?" but I don't know how to parse your PATH on windows to check for a valid JDK path in there.
FWIW, this limitation is stated on the usage page:
{quote}
Note that you can either specify a Java developer kit or use the default one in the script (c:\progra~1\java\jre7\bin\java for Microsoft Windows operating systems or /usr/bin/java for OS X and Linux-based operating systems).
{quote}
> Scripted install is broken on windows
> -------------------------------------
>
> Key: JBDS-2823
> URL: https://issues.jboss.org/browse/JBDS-2823
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: installer
> Affects Versions: 7.1.0.Beta1
> Reporter: Pavol Srna
> Priority: Blocker
> Fix For: 7.1.0.CR1
>
> Attachments: jbds-install-script-fail.png
>
>
> Please see screenshot attached for more details.
> Script used: https://devstudio.jboss.com/usage/scripted-install/jbds-install.cmd
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list