Skip to content

-classpath flag for javac #1009

Closed
Closed

Description

@bdbaddog

This issue was originally created at: 2004-11-12 00:24:21.
This issue was reported by: issues@scons.
issues@scons said at 2004-11-12 00:24:21

Large projects require that you have control over what
is put in the java classpath when running javac. It's
pretty much a non-starter without this support.

noodlez84 said at 2005-04-29 11:33:35

You can simply use $JAVACFLAGS. e.g.,

list of classpaths / jar files

classPaths = ['other/junit.jar', 'other/ojdbc14_g.jar']

compile the Java stuff

env = Environment()
env.Append( JAVACFLAGS = ['-cp', ":".join(classPaths)] )

It would be really easy to make a JAVACLASSPATH construction
variable. I'll add it to me my TODO list. ;)

issues@scons said at 2005-04-29 11:33:35

Converted from SourceForge tracker item 1065007

stevenknight said at 2007-08-07 15:11:47

A $JAVACLASSPATH variable has been added for the next release.

stevenknight said this issue blocks #1664 at 2007-08-07 15:11:47.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions