Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

setting parser classpath in batchfile

843834Jun 20 2001 — edited Jun 20 2001
I recently switched from a DOMParser to SAXParser . Which jar file should I set the classpath for in my batch file?

The old one was like this:

set CLASSPATH=c:\Application\jar\xerces.jar;%CLASSPATH%

and I tried both of these:

set classpath=c:\Application\jar\xalan.jar;%CLASSPATH%
set classpath=c:\Application\jar\jaxp.jar;%CLASSPATH%

Both jar files are in the directory, application starts fine, but when I go to parse the file ...just sits there

Really need help
Jim

Comments

vladodias

Hi mate,

I'm not aware of any property that will look for wildcard patterns... A possible solution to achieve your requirement is to use a "list" operation and then iterate to delete the files one by one...

Cheers,

Vlad

1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jul 18 2001
Added on Jun 20 2001
1 comment
121 views