You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Gavin (JIRA)" <ji...@apache.org> on 2007/02/28 22:49:50 UTC

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

    [ 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.