[java] java.io.IOException: CreateProcess: chmod u+x
C:\GWT-DEV\trunk\build\out\samples\dynatable\scripts\linux\DynaTable-shell
error=2
Here is ANT output log:
Buildfile: build.xml
compile:
[mkdir] Created dir:
C:\GWT-DEV\trunk\build\out\samples\dynatable\bin
[gwt.javac] Compiling 13 source files to
C:\GWT-DEV\trunk\build\out\samples\dynatable\bin
gwtc:
[mkdir] Created dir:
C:\GWT-DEV\trunk\build\out\samples\dynatable\www
[java] Output will be written into
C:\GWT-DEV\trunk\build\out\samples\dynatable\www\com.google.gwt.sample.dynatable.DynaTable
[java] Copying all files found on public path
[java] Compilation succeeded
scripts:
antcall.script:
[mkdir] Created dir:
C:\GWT-DEV\trunk\build\out\samples\dynatable\scripts\linux
[java] Created directory
C:\GWT-DEV\trunk\build\out\samples\dynatable\scripts\linux\src
[java] Created directory
C:\GWT-DEV\trunk\build\out\samples\dynatable\scripts\linux\src\com\google\gwt\sample\dynatable
[java] Created directory
C:\GWT-DEV\trunk\build\out\samples\dynatable\scripts\linux\src\com\google\gwt\sample\dynatable\client
[java] Created directory
C:\GWT-DEV\trunk\build\out\samples\dynatable\scripts\linux\src\com\google\gwt\sample\dynatable\public
[java] Created file
C:\GWT-DEV\trunk\build\out\samples\dynatable\scripts\linux\src\com\google\gwt\sample\dynatable\DynaTable.gwt.xml
[java] Created file
C:\GWT-DEV\trunk\build\out\samples\dynatable\scripts\linux\src\com\google\gwt\sample\dynatable\public\DynaTable.html
[java] Created file
C:\GWT-DEV\trunk\build\out\samples\dynatable\scripts\linux\src\com\google\gwt\sample\dynatable\client\DynaTable.java
[java] Created file
C:\GWT-DEV\trunk\build\out\samples\dynatable\scripts\linux\DynaTable-shell
[java] java.io.IOException: CreateProcess: chmod u+x
C:\GWT-DEV\trunk\build\out\samples\dynatable\scripts\linux\DynaTable-shell
error=2
On Dec 13, 9:44 pm, "Scott Blum" <sco...@google.com> wrote:
> Yeah, I didn't realize when I put them together that Ant's <chmod> actually
> invokes the underlying OS chmod, which doesn't work so well for most Windows
> boxes. I didn't notice because I have a bunch of unix utils installed.
>
-jason
Scott,
Your fix didn't help my build on windows. After applying the merge,
here's what I'm getting:
scripts:
[mkdir] Created dir:
C:\projects\gwt\trunk\build\out\samples-scripts\linux\D
ynaTable
[java] Created directory
C:\projects\gwt\trunk\build\out\samples-scripts\li
nux\DynaTable\src
[java] Created directory
C:\projects\gwt\trunk\build\out\samples-scripts\li
nux\DynaTable\src\com\google\gwt\sample\dynatable
[java] Created directory
C:\projects\gwt\trunk\build\out\samples-scripts\li
nux\DynaTable\src\com\google\gwt\sample\dynatable\client
[java] Created directory
C:\projects\gwt\trunk\build\out\samples-scripts\li
nux\DynaTable\src\com\google\gwt\sample\dynatable\public
[java] Created file
C:\projects\gwt\trunk\build\out\samples-scripts\linux\D
ynaTable\src\com\google\gwt\sample\dynatable\DynaTable.gwt.xml
[java] Created file
C:\projects\gwt\trunk\build\out\samples-scripts\linux\D
ynaTable\src\com\google\gwt\sample\dynatable\public\DynaTable.html
[java] Created file
C:\projects\gwt\trunk\build\out\samples-scripts\linux\D
ynaTable\src\com\google\gwt\sample\dynatable\client\DynaTable.java
[java] Created file
C:\projects\gwt\trunk\build\out\samples-scripts\linux\D
ynaTable\DynaTable-shell
[java] java.io.IOException: Cannot run program "chmod":
CreateProcess error
=2, The system cannot find the file specified
BUILD FAILED
C:\projects\gwt\trunk\build.xml:44: The following error occurred while
executing
this line:
C:\projects\gwt\trunk\build.xml:34: The following error occurred while
executing
this line:
C:\projects\gwt\trunk\samples\build.xml:40: The following error
occurred while e
xecuting this line:
C:\projects\gwt\trunk\samples\build.xml:10: The following error
occurred while e
xecuting this line:
C:\projects\gwt\trunk\samples\common.ant.xml:80: The following error
occurred wh
ile executing this line:
C:\projects\gwt\trunk\samples\common.ant.xml:66: Java returned: 1
On Dec 15, 11:22 am, "Scott Blum" < sco...@google.com> wrote:
> Hi guys,
>
> If you can't build on Windows do to the chmod issue, please go to your trunk
> directory and execute:
> svn mergehttp://google- web-toolkit.googlecode.com/svn/trunk@178http://google-web-toolkit.googlecode.com/svn/changes/trunk/scottb/chm. ..
>
> This should merge in my fix. Please verify that you can build and that what
> you build works.
>
> Thanks,
> Scott
>
> On 12/13/06, Scott Blum < sco...@google.com> wrote:
>
>
>
> > My plan right now to only build out the full staging directory for the
> > platform you're actually running on. We don't need the staging directories
> > to build the full distros, just to run unit tests. This would get around
> > the chmod problem since a chmod on Windows isn't useful.
>
On Dec 15, 7:22 pm, "Scott Blum" <sco...@google.com> wrote:
> Hi guys,
>
> If you can't build on Windows do to the chmod issue, please go to your trunk
> directory and execute:
> svn mergehttp://google-web-toolkit.googlecode.com/svn/trunk@178http://google-web-toolkit.googlecode.com/svn/changes/trunk/scottb/chm...
>
> This should merge in my fix. Please verify that you can build and that what
> you build works.
>
> Thanks,
> Scott
>
> On 12/13/06, Scott Blum <sco...@google.com> wrote:
>
> > My plan right now to only build out the full staging directory for the
> > platform you're actually running on. We don't need the staging directories
> > to build the full distros, just to run unit tests. This would get around
> > the chmod problem since a chmod on Windows isn't useful.
>
I've checked out revision 187, and it also fails on a chmod for me.
[java] java.io.IOException: CreateProcess: chmod u+x
C:\projects\googlecode
\gwt\trunk\build\out\samples\dynatable\scripts\mac\DynaTable-shell
error=2
-Ted.