Login | Register
My pages Projects Community openCollabNet

Discussions > dev > changes to regex dependancies

Project highlights: Architectural Overview

Discussion topic

Back to topic list

changes to regex dependancies

Author Michael Salmon <ms at collab dot net>
Full name Michael Salmon <ms at collab dot net>
Date 2000-10-20 12:10:38 PDT
Message hi folks,
a few days ago i made changes to joist that get rid of the old oroinc regexp
package and replaced it with the newer jakarta-oro package.
the only issues other then the patch to the code is how the code (.jar) is
arranged now.
As it is currently there is a badly named cj.jar we use normally located in
/usr/lib/java that has 6 classes (roughly) in a package named "cj" and about
40 from the oroinc regexp package. Obviously someone thought it would be a
good idea to hide the regexp package in that jar. What I did was rip cj.jar
in functional halves, after repackaging all I had was cj-thin.jar which only
has the cj classes. I checked dependancies and these classes use the cj stuff
joist/java/org/joist​/admin/Broadcast.jav​a:import cj.util.Trace;
joist/java/org/joist​/admin/SiteStatus.ja​va:import cj.util.Trace;
joist/java/org/joist​/admin/TestURL.java:​import cj.util.Trace;
joist/java/org/joist​/admin/TimingProfile​.java:import cj.util.Trace;
joist/java/org/joist​/util/URL.java:impor​t cj.util.Trace;

The new regexp package is attached as jakarta-oro.jar and is exactly what it
says, the most recent regexp package from jakarta.apache.org.

There are two changes that are not joist specific. 1 is in the
jserv.properties for the sandbox. The two new jars need to be added to the
wrapper.classpath and since there isnt a mechanism for each module to install
edits on the file it needs to be done to jserv.properties.in

The other is adding the two jars to user's CLASSPATH's from the mechanism
used in /etc/profile.d.

attached are the two new .jar's and the diff -ur of my joist versus a cleanly
checked out version.

sorry about this mess of a patch but i didnt want to just commit it without
peer review.

thanks, ms

« Previous message in topic | 1 of 4 | Next message in topic »


Show all messages in topic

changes to regex dependancies Michael Salmon <ms at collab dot net> Michael Salmon <ms at collab dot net> 2000-10-20 12:10:38 PDT
     Re: [joist-dev] changes to regex dependancies dlr Daniel Rall 2000-10-21 10:25:12 PDT
         Re: [joist-dev] changes to regex dependancies ms <ms at collab dot net> ms <ms at collab dot net> 2000-10-23 10:28:49 PDT
             Re: [joist-dev] changes to regex dependancies pilgrim Daniel Pellegrini 2000-10-23 13:18:52 PDT
Messages per page: