jQuery in Action, 3rd edition
The moose likes Ant, Maven and Other Build Tools and the fly likes creating long classpath? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "creating long classpath?" Watch "creating long classpath?" New topic

creating long classpath?

hasan khan
Ranch Hand

Joined: Aug 04, 2003
Posts: 222

i want to compile my java code.
this java code require 18 jar files to compile which are placed in 2 different directories.

please tell me how to compile the code to add all the jar files in the classpath.

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16901

I think this is what you wanted:

A little more complex than some, perhaps. I use it on a project that pulls in all the JDO jars (wildcard in directory) plus selected explicitly-named jars. The other class path definition being pulled in (the one named "classpath") mostly references stuff that's already in a prototype web app that will be copied/merged to build the working web app.

Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link: http://aspose.com/file-tools
subject: creating long classpath?
It's not a secret anymore!