You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by ji...@apache.org on 2004/05/14 14:56:03 UTC

[jira] Commented: (GUMP-51) gumpy should blank the CLASSPATH before starting

The following comment has been added to this issue:

     Author: Adam Jack
    Created: Fri, 14 May 2004 5:55 AM
       Body:
This exists becuase of the need to have access to a compiler:

 export JAVA_HOME=/usr/local/j2sdk1.4.2_04
 export CLASSPATH=$JAVA_HOME/lib/tools.jar

So long as this was (portably settable or configurable) the CLASSPATH could be blanked & set just to this.

This (in project.py) is the offending code:

    #
    # Maybe this is dodgy (it is inefficient) but we need some
    # way to get the sun tools for a javac compiler for ant and
    # I don't know a more portable way.
    #
    # When we get closer to done perhaps strip out the tools only, 
    # and not allow the users classpath to pollute ours...
    #
    def getSystemClasspathList(self):
        sysClasspath=Classpath('System Classpath')
        try:
            syscp=os.environ['CLASSPATH']
        except:
            syscp=''            
        sysClasspath.importFlattenedParts(syscp)        
        return sysClasspath

---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/GUMP-51?page=comments#action_35550

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/GUMP-51

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: GUMP-51
    Summary: gumpy should blank the CLASSPATH before starting
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: Gump
 Components: 
             Python

   Assignee: 
   Reporter: Nick Chalko

    Created: Thu, 6 May 2004 11:20 AM
    Updated: Fri, 14 May 2004 5:55 AM

Description:
I had a version of log4j in my CLASSPATH that cause ant-bootstrap to fail.  gumpy should blank CLASSPATH before starting.


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org