List Info

Thread: Created: (FOR-905) Recent change in cygwin appears to prevent the classpath for loop in the forrest




Created: (FOR-905) Recent change in cygwin appears to prevent the classpath for loop in the forrest
user name
2006-07-06 15:38:29
Recent change in cygwin appears to prevent the classpath for
loop in the forrest command from working
------------------------------------------------------------
-----------------------------------------

         Key: FOR-905
         URL: http://i
ssues.apache.org/jira/browse/FOR-905
     Project: Forrest
        Type: Bug

  Components: Core operations  
    Versions: 0.8-dev    
    Reporter: Mark Eggers
    Priority: Minor


I recently upgraded Cygwin on a Windows/2000
Professional machine to:

bash-3.1$ uname -a
CYGWIN_NT-5.0 phoenix 1.5.20(0.156/4/2) 2006-07-01
02:22 i686 Cygwin

bash-3.1$ cygpath --version
cygpath (cygwin) 1.42
Path Conversion Utility
Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004,
2005 Red Hat, Inc.
Compiled on Jul  1 2006

bash-3.1$ bash --version
GNU bash, version 3.1.17(6)-release (i686-pc-cygwin)
Copyright (C) 2005 Free Software Foundation, Inc.

Forrest stopped working and gave the following error.

bash-3.1$ pwd
/cygdrive/c/src/forrest/site-author
bash-3.1$ echo $FORREST_HOME
C:\src\forrest
bash-3.1$ forrest
Apache Forrest.  Run 'forrest -projecthelp' to list
options

Buildfile: C:\src\forrest\main\forrest.build.xml

BUILD FAILED
Target
`c:/src/forrest/lib/endorsed/jakarta-regexp-1.4.jar'
does not exist in this project. 

Total time: 1 second

After investigating, it seems that the loop populating
the CLASSPATH was not being executed.

It appears that the bash shell no longer understands 

C:\src\forrest/lib/endorsed/*.jar

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

-
For more information on JIRA, see:
   http://www.atl
assian.com/software/jira

Updated: (FOR-905) Recent change in cygwin appears to prevent the classpath for loop in the forrest
user name
2006-07-06 15:47:34
     [ http://issues.apache.org/jira/browse/FOR-905?page=all ]

Mark Eggers updated FOR-905:
----------------------------

    Attachment: forrest-sh.patch

Patch to handle apparent change in Cygwin's behavior

> Recent change in cygwin appears to prevent the
classpath for loop in the forrest command from working
>
------------------------------------------------------------
-----------------------------------------
>
>          Key: FOR-905
>          URL: http://i
ssues.apache.org/jira/browse/FOR-905
>      Project: Forrest
>         Type: Bug

>   Components: Core operations
>     Versions: 0.8-dev
>     Reporter: Mark Eggers
>     Priority: Minor
>  Attachments: forrest-sh.patch
>
> I recently upgraded Cygwin on a Windows/2000
> Professional machine to:
> bash-3.1$ uname -a
> CYGWIN_NT-5.0 phoenix 1.5.20(0.156/4/2) 2006-07-01
> 02:22 i686 Cygwin
> bash-3.1$ cygpath --version
> cygpath (cygwin) 1.42
> Path Conversion Utility
> Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004,
> 2005 Red Hat, Inc.
> Compiled on Jul  1 2006
> bash-3.1$ bash --version
> GNU bash, version 3.1.17(6)-release (i686-pc-cygwin)
> Copyright (C) 2005 Free Software Foundation, Inc.
> Forrest stopped working and gave the following error.
> bash-3.1$ pwd
> /cygdrive/c/src/forrest/site-author
> bash-3.1$ echo $FORREST_HOME
> C:\src\forrest
> bash-3.1$ forrest
> Apache Forrest.  Run 'forrest -projecthelp' to list
> options
> Buildfile: C:\src\forrest\main\forrest.build.xml
> BUILD FAILED
> Target
> `c:/src/forrest/lib/endorsed/jakarta-regexp-1.4.jar'
> does not exist in this project. 
> Total time: 1 second
> After investigating, it seems that the loop populating
> the CLASSPATH was not being executed.
> It appears that the bash shell no longer understands 
> C:\src\forrest/lib/endorsed/*.jar

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

-
For more information on JIRA, see:
   http://www.atl
assian.com/software/jira

Commented: (FOR-905) Recent change in cygwin appears to prevent the classpath for loop in the
country flaguser name
United States
2007-02-28 15:49:50
    [ https://issues.apache.org/jira/browse/FOR
-905?page=com.atlassian.jira.plugin.system.issuetabpanels:co
mment-tabpanel#action_12476726 ] 

Gavin commented on FOR-905:
---------------------------

Someone who uses Forrest with Cygwin should try this.

In addition, may not be relevent but I got this in an email
:-

<quote>...but as I understand it, Cygwin recently
changed the default for how it handles line endings.  This
caused a lot of scripts that I had which contained DOS line
endings to break (even blank lines caused "syntax
error: 
unexpected end of file"), as well as other problems
that didn't seem to go away even after converting my line
endings to unix style.  I got the problem to disappear
(without ever really understanding it) by adding a system
variable called "SHELLOPTS" with the value
"igncr"...</quote>

Quote was by Steve Strobel.

Gav...


> Recent change in cygwin appears to prevent the
classpath for loop in the forrest command from working
>
------------------------------------------------------------
-----------------------------------------
>
>                 Key: FOR-905
>                 URL: https:/
/issues.apache.org/jira/browse/FOR-905
>             Project: Forrest
>          Issue Type: Bug
>          Components: Core operations
>    Affects Versions: 0.8-dev
>            Reporter: Mark Eggers
>            Priority: Minor
>         Attachments: forrest-sh.patch
>
>
> I recently upgraded Cygwin on a Windows/2000
> Professional machine to:
> bash-3.1$ uname -a
> CYGWIN_NT-5.0 phoenix 1.5.20(0.156/4/2) 2006-07-01
> 02:22 i686 Cygwin
> bash-3.1$ cygpath --version
> cygpath (cygwin) 1.42
> Path Conversion Utility
> Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004,
> 2005 Red Hat, Inc.
> Compiled on Jul  1 2006
> bash-3.1$ bash --version
> GNU bash, version 3.1.17(6)-release (i686-pc-cygwin)
> Copyright (C) 2005 Free Software Foundation, Inc.
> Forrest stopped working and gave the following error.
> bash-3.1$ pwd
> /cygdrive/c/src/forrest/site-author
> bash-3.1$ echo $FORREST_HOME
> C:srcforrest
> bash-3.1$ forrest
> Apache Forrest.  Run 'forrest -projecthelp' to list
> options
> Buildfile: C:srcforrestmainforrest.build.xml
> BUILD FAILED
> Target
> `c:/src/forrest/lib/endorsed/jakarta-regexp-1.4.jar'
> does not exist in this project. 
> Total time: 1 second
> After investigating, it seems that the loop populating
> the CLASSPATH was not being executed.
> It appears that the bash shell no longer understands 
> C:srcforrest/lib/endorsed/*.jar

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue
online.


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )