That sounds like a spacing error (parsing variables in a properties
file). Spaces in paths are evil. To be avoided!
Try setting JAVA_HOME (and JAVA50_HOME, etc.) in your build.properties
to c:/progra~1/Java/jdk1.6.0_16 or simply /progra~1/Java/jdk1.6.0_16 (if
I recall correctly, the C drive is assumed if you use linux-like paths
under Windows w/ Ant or Java).
(If you ever want the space-excluded 8.3 path from a space-included long
path in Windows, use `dir -x` in a console to get its shortened name.
Generally it's the first six letters and ~1 or ~2.)
Nick
Nicolas Bros wrote:
Hi,
I almost got Athena to build MoDisco on my Windows machine, by doing this:
- setting "workspaceDir" to the location of my workspace (or else it
fails with
C:\Users\Travail\workspaces\MoDisco\org.eclipse.dash.common.releng\UsersTravailworkspacesMoDisco\org.eclipse.dash.common.releng\tools\scripts\getDependenciesHelper.xml
(The system cannot find the path specified) )
- installing cygwin, and adding "cygwin\bin" to my Path (so that "unzip"
is on the path)
- building from local sources instead of fetching from maps (or else it
doesn't fetch anything and then complains it can't find files)
But I am stuck on this error:
buildAllHelper.xml:756: java.io.IOException: Cannot run program
"C:\Program\bin\java"
I checked with "echo", and JAVA_HOME becomes "C:/Program" in
buildAllHelper.xml, even though it was equal to "C:/Program
Files/Java/jdk1.6.0_16" in buildAll.xml.
I can't fathom why. Aren't ant variables supposed to be unmodifiable
once they are set?
--
Nicolas Bros
R&D
http://www.mia-software.com
.: model driven agility :.
------------------------------------------------------------------------
_______________________________________________
dash-dev mailing list
dash-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/dash-dev
--
Nick Boldt :: http://nick.divbyzero.com
Release Engineer :: Eclipse Modeling & Dash Athena
_______________________________________________
dash-dev mailing list
dash-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/dash-dev