Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-debug-dev] Computing default classpath and sourcelookup


Do you mean that you launch does not map to any project, or it maps to more than one project? The current classpath computation performs a transitive closure on required projects, and the source lookup path is the same as the classpath (by default). If your launch maps to more than one project, why is this not described in the "build path"?

Currently, there is no way for you to override the classpath computation, except to define a new type of launch configuration, and subclass AbstractJavaLaunchConfigurationDelegate overriding the appropriate methods. You would also need to set a source lookup path explicitly.

Darin



Matt_Lavin@xxxxxxx
Sent by: jdt-debug-dev-admin@xxxxxxxxxxx

05/08/2002 09:03 AM
Please respond to jdt-debug-dev

       
        To:        jdt-debug-dev@xxxxxxxxxxx
        cc:        
        Subject:        [jdt-debug-dev] Computing default classpath and sourcelookup



If I have a launch configuration object and set either ATTR_DEFAULT_SOURCE_PATH and ATTR_DEFAULT_CLASSPATH to true then the default values for the respective attributes are computed each time the configuration is launched.  This works great since new additions to a projects classpath will be added on every launch.  Since my launch does not directly map to one project, I would like to be able to change how the default source lookup path and default classpath are computed.... how can I do this?



Back to the top