[
https://issues.jboss.org/browse/JBDS-2823?page=com.atlassian.jira.plugin....
]
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:
{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}
was (Author: nickboldt):
Looks like the problem is that you have no writeable c:\temp folder, so the script
can't create c:\temp\%installDir%.install.xml.
Also, I've assumed that you have JDK 7 installed here:
set JREPATH=c:\Progra~1\java\jre7\bin\java
If you do not, then I need to add another check to verify that's a valid path.
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