You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Mark Eggers (JIRA)" <ji...@apache.org> on 2006/07/06 17:38:29 UTC

[jira] Created: (FOR-905) Recent change in cygwin appears to prevent the classpath for loop in the forrest command from working

Recent change in cygwin appears to prevent the classpath for loop in the forrest command from working
-----------------------------------------------------------------------------------------------------

         Key: FOR-905
         URL: http://issues.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.atlassian.com/software/jira


[jira] Resolved: (FOR-905) Recent change in cygwin appears to prevent the classpath for loop in the forrest command from working

Posted by "Ross Gardler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FOR-905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ross Gardler resolved FOR-905.
------------------------------

       Resolution: Fixed
    Fix Version/s: 0.9-dev
         Assignee: Ross Gardler

Applied with thanks

> 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
>            Reporter: Mark Eggers
>            Assignee: Ross Gardler
>            Priority: Minor
>             Fix For: 0.9-dev
>
>         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.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FOR-905) Recent change in cygwin appears to prevent the classpath for loop in the forrest command from working

Posted by "Doron Cohen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FOR-905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554848 ] 

Doron Cohen commented on FOR-905:
---------------------------------

Thanks for this patch - just wanted to let you know that it was helpful!

After upgrading from Forrest 0.7 to 0.8, running Forrest for building Lucene Java docs failed with:
   Target `../apache-forrest-0.8/lib/endorsed/jakarta-regexp-1.4.jar' does not exist in this project.

Applying this patch solved the problem.

Thanks.
Doron

> 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
>            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.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FOR-905) Recent change in cygwin appears to prevent the classpath for loop in the forrest command from working

Posted by "Gavin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FOR-905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-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:\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.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (FOR-905) Recent change in cygwin appears to prevent the classpath for loop in the forrest command from working

Posted by "Mark Eggers (JIRA)" <ji...@apache.org>.
     [ 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://issues.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.atlassian.com/software/jira