[kepler-users] Build issues using Windows 7 x74 + cygwin.

Thomas M. Parris parris at isciences.com
Thu Feb 23 12:23:39 PST 2012


Chris,

Our user is working with

SVN version 1.7.1
Apache-ant version 1.8.2
Cygwin version 4.1.10(4)

These all look reasonable to me.  I will try to get things going on a
"clean" computer and see what I can uncover.  It will take me a few days.

-- Tom 

-----Original Message-----
From: Christopher Brooks [mailto:cxh at eecs.berkeley.edu] 
Sent: Thursday, February 23, 2012 12:35 PM
To: Thomas M. Parris
Cc: 'Kepler Users'; 'Eric Crist'
Subject: Re: [kepler-users] Build issues using Windows 7 x74 + cygwin.

Hi Thomas,
Hmm, this works for me under Windows Server 2008, which is very similar to
Windows 7.

Note that the first time 'ant change-to' was run, I did get a message:
> $ ant change-to -Dsuite=kepler
> Buildfile: C:\Users\cxh.EECS\src\kepler\build-area\build.xml
>
> change-to:
> [change-to] Copying 1 file to C:\Users\cxh.EECS\src\kepler\build-area
> [change-to] Retrieving modules....
> [change-to]
> [change-to] kepler:
> [change-to] Downloading kepler...
> [change-to] svn co -r head
> https://code.kepler-project.org/code/kepler/trunk/modules/kepler
> C:\Users\cxh.EECS\src\kepler\kepler
> [change-to] cygwin warning:
> [change-to]   MS-DOS style path detected: 
> C:\Users\cxh.EECS\src\kepler\kepler
> [change-to]   Preferred POSIX equivalent is: 
> /cygdrive/c/Users/cxh.EECS/src/kepler/kepler
> [change-to]   CYGWIN environment variable option "nodosfilewarning" 
> turns off this warning.
> [change-to]   Consult the user's guide for more details about POSIX paths:
and then the check out proceeds.

Here are some details about my setup:

> cxh at JOULE ~/src/kepler/build-area
> $ pwd
> /cygdrive/c/Users/cxh.EECS/src/kepler/build-area
>
> cxh at JOULE ~/src/kepler/build-area
> $ svn --version
> svn, version 1.6.17 (r1128011)
>    compiled Jun  2 2011, 10:39:28
>
> Copyright (C) 2000-2009 CollabNet.
> Subversion is open source software, see http://subversion.apache.org/ 
> This product includes software developed by CollabNet 
> (http://www.Collab.Net/).
>
> The following repository access (RA) modules are available:
>
> * ra_neon : Module for accessing a repository via WebDAV protocol 
> using Neon.
>   - handles 'http' scheme
>   - handles 'https' scheme
> * ra_svn : Module for accessing a repository using the svn network 
> protocol.
>   - with Cyrus SASL authentication
>   - handles 'svn' scheme
> * ra_local : Module for accessing a repository on local disk.
>   - handles 'file' scheme
> * ra_serf : Module for accessing a repository via WebDAV protocol 
> using serf.
>   - handles 'http' scheme
>   - handles 'https' scheme
>
>
> cxh at JOULE ~/src/kepler/build-area
> $ bash --version
> GNU bash, version 4.1.10(4)-release (i686-pc-cygwin) Copyright (C) 
> 2009 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later 
> <http://gnu.org/licenses/gpl.html>
>
> This is free software; you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> cxh at JOULE ~/src/kepler/build-area
> $ ant -version
> Apache Ant(TM) version 1.8.2 compiled on December 20 2010

I tried reproducing your commands in c:/kepler and it worked.
> cxh at JOULE /cygdrive/c/kepler/build-area $ ant change-to -Dsuite=kepler
> Buildfile: C:\kepler\build-area\build.xml
>
> change-to:
> [change-to] Copying 1 file to C:\kepler\build-area [change-to] 
> Retrieving modules....
> [change-to]
> [change-to] kepler:
> [change-to] Downloading kepler...
> [change-to] svn co -r head
> https://code.kepler-project.org/code/kepler/trunk/modules/kepler
> C:\kepler\kepler
> [change-to] A    C:\kepler\kepler/resources
> [change-to] A    C:\kepler\kepler/resources/system.properties
> [change-to] A    
> C:\kepler\kepler/resources/system.properties/kepler.properties
> [change-to] A    C:\kepler\kepler/resources/log4j.properties
> [change-to] A    C:\kepler\kepler/module-info
> [change-to] A    C:\kepler\kepler/module-info/licenses.txt
> [change-to] A    C:\kepler\kepler/module-info/modules.txt
> [change-to]  U   C:\kepler\kepler
> [change-to] Checked out revision 29446.
> [change-to]

Let me know what versions of svn and ant you are running.

Updating Cygwin might help.  Or, there is always rebooting.

_Christopher



On 2/23/12 7:17 AM, Thomas M. Parris wrote:
> All,
>
> I am working with one of my staff to build Kepler.  Several of us have 
> been successfully using Kepler, adding in our own code, and connecting 
> to our own svn repository for that code for some time.  But, something 
> seems to be broken in the trunk that effects the new user.
>
> We are starting with the commands described in Step 1 of Developing a 
> Hello World Actor using the Kepler Build System and Eclipse
> (https://kepler-project.org/developers/teams/build/documentation/devel
> oping- a-hello-world-actor-using-the-kepler-build-system-and-eclipse).  
> My user is using cygwin on Windows 7 x64.
>
> mkdir c:/kepler
> cd c:/kepler
> svn co 
> https://code.kepler-project.org/code/kepler/trunk/modules/build-area
> cd build-area
> ant change-to -Dsuite=kepler
> ant run
>
> All works well up until "ant change-to -Dsuite=kepler"  At that point 
> we get the following errors ...
>
> $ ant change-to -Dsuite=kepler
> Buildfile: C:\kepler\build-area\build.xml
> change-to:
> [change-to] Copying 1 file to C:\kepler\build-area [change-to] 
> Retrieving modules....
> [change-to]
> [change-to] kepler:
> [change-to] Downloading kepler...
> [change-to] svn co -r head
> https://code.kepler-project.org/code/kepler/trunk/modules/kepler
> C:\kepler\kepler
> [change-to] svn: E000002: Can't make directory
> '/cygdrive/c/kepler/build-area/C:\kepler\kepler': No such file or 
> directory [change-to] BUILD FAILED
> C:\kepler\build-area\build.xml:97: ERROR: It appears that the command 
> did not execute properly and exited with an exit code of: 1
>
> The issue appears to be that the build system is telling svn to 
> download kepler to a directory using Windows style syntax intead of 
> unix style syntax and that this is confusing cygwin.  My other staff 
> (including me) use cygwin without problems.
>
> Any help would be greatly appreciated.
>
> Many thanks,
> Tom
> ----------------------------------------------------
> Thomas M. Parris
> Vice President
> ISciences, LLC
> 61 Main Street, Suite 200
> Burlington, VT 05401
> Voice: +802-864-2999
> Fax:   +617-344-2580
> Email: parris at isciences.com
>
> http://www.isciences.com/  http://www.terraviva.net/
> ----------------------------------------------------
>
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users

-- 
Christopher Brooks, PMP                       University of California
CHESS Executive Director                      US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774
ph: 510.643.9841                                (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670




More information about the Kepler-users mailing list