Login | Register
My pages Projects Community openCollabNet

Discussions > dev > changes to regex dependancies

Project highlights: Architectural Overview

joist
Discussion topic

Hide all messages in topic

All messages in topic

Re: [joist-dev] changes to regex dependancies

Author pilgrim
Full name Daniel Pellegrini
Date 2000-10-23 13:18:52 PDT
Message Hi Michael!

Thanks for the email.

I just spoke to Carl. He says we should just take whatever we want from the
"cj.jar" and put it into the joist package. This would eliminate the need to
use the "cj-thin.jar".

Which piece of code do you need from Carl?
The source code is available in a couple of places:
    womb:/usr/local/pkgs/cj-1.9
or
    swallow:/database/pk​gs_from_womb/cj-1.9.​tar.gz

I guess you should move the stuff from "cj/util/" into "joist/util/". The
package references you cited as "dependencies", below, will need to be updated
to reflect the changes.

There are some other handy items in the cj-1.9, such as the pounder, but they
don't really belong in the joist framework.

Thanks for taking care of this.

Dan

____________________ Original Message ____________________


ms wrote:
>
> I was waiting primarily for Josh Lucas to have time to build an rpm for
> the new jakarta-oro.jar, and I was waiting for a bit of code from Carl
> Ludwig which I only have in binary.
> When I have Carl's code i'll commit this right away.
> If anyone knows where I can find code Carl Ludwig wrote while here I would
> greatly appreciate the pointer.
> thanks,
> ms
>
> On Sat, 21 Oct 2000, Daniel L. Rall wrote:
>
> > ms, the patch looks great. A lot of the code that it touches may have
> > changed (EscapedString and UserManager, for instance), so you may want
> > to merge this in by hand to save yourself some pain (from CVS merges).
> > +1 on committing this ASAP.
> >
> > p.s. Don't forget to change the wrapper.classpath entries!
> > --
> >
> > Daniel Rall <dlr at finemaltcoding dot com>
> >
> >
> > Michael Salmon wrote:
> > >
> > > 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
> > > wrapper.classpath=/u​sr/lib/java/jakarta-​oro-2.0.jar
> > > wrapper.classpath=/u​sr/lib/java/cj-thin.​jar
> > >
> > > 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
> > >
> > > --------------------​--------------------​--------------------​------------
> > > Name: joist.patch
> > > joist.patch Type: text/english
> > > Encoding: base64
> > >
> > > Name: jakarta-oro-2.0.jar
> > > jakarta-oro-2.0.jar Type: Java Archive (application/java-archive)
> > > Encoding: base64
> > >
> > > Name: cj-thin.jar
> > > cj-thin.jar Type: Java Archive (application/java-archive)
> > > Encoding: base64
> >
> >
> >

--
Thanks!

Dan

Collab.Net is hiring! http://www.collab.net/jobs
********************​********************​********************​***
* Daniel Pellegrini Collab.Net *
* Director of Applications 457 Bryant Street *
* (415)247-1695 phone San Francisco, CA 94107 *
* (415)247-1697 fax http://www.sourceXchange.com *
********************​********************​********************​***

Re: [joist-dev] changes to regex dependancies

Author ms <ms at collab dot net>
Full name ms <ms at collab dot net>
Date 2000-10-23 10:28:49 PDT
Message I was waiting primarily for Josh Lucas to have time to build an rpm for
the new jakarta-oro.jar, and I was waiting for a bit of code from Carl
Ludwig which I only have in binary.
When I have Carl's code i'll commit this right away.
If anyone knows where I can find code Carl Ludwig wrote while here I would
greatly appreciate the pointer.
thanks,
ms

On Sat, 21 Oct 2000, Daniel L. Rall wrote:

> ms, the patch looks great. A lot of the code that it touches may have
> changed (EscapedString and UserManager, for instance), so you may want
> to merge this in by hand to save yourself some pain (from CVS merges).
> +1 on committing this ASAP.
>
> p.s. Don't forget to change the wrapper.classpath entries!
> --
>
> Daniel Rall <dlr at finemaltcoding dot com>
>
>
> Michael Salmon wrote:
> >
> > 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
> > wrapper.classpath=/u​sr/lib/java/jakarta-​oro-2.0.jar
> > wrapper.classpath=/u​sr/lib/java/cj-thin.​jar
> >
> > 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
> >
> > --------------------​--------------------​--------------------​------------
> > Name: joist.patch
> > joist.patch Type: text/english
> > Encoding: base64
> >
> > Name: jakarta-oro-2.0.jar
> > jakarta-oro-2.0.jar Type: Java Archive (application/java-archive)
> > Encoding: base64
> >
> > Name: cj-thin.jar
> > cj-thin.jar Type: Java Archive (application/java-archive)
> > Encoding: base64
>
>
>

Re: [joist-dev] changes to regex dependancies

Author dlr
Full name Daniel Rall
Date 2000-10-21 10:25:12 PDT
Message ms, the patch looks great. A lot of the code that it touches may have
changed (EscapedString and UserManager, for instance), so you may want
to merge this in by hand to save yourself some pain (from CVS merges).
+1 on committing this ASAP.

p.s. Don't forget to change the wrapper.classpath entries!
--

Daniel Rall <dlr at finemaltcoding dot com>


Michael Salmon wrote:
>
> 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
> wrapper.classpath=/u​sr/lib/java/jakarta-​oro-2.0.jar
> wrapper.classpath=/u​sr/lib/java/cj-thin.​jar
>
> 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
>
> --------------------​--------------------​--------------------​------------
> Name: joist.patch
> joist.patch Type: text/english
> Encoding: base64
>
> Name: jakarta-oro-2.0.jar
> jakarta-oro-2.0.jar Type: Java Archive (application/java-archive)
> Encoding: base64
>
> Name: cj-thin.jar
> cj-thin.jar Type: Java Archive (application/java-archive)
> Encoding: base64

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
wrapper.classpath=/u​sr/lib/java/jakarta-​oro-2.0.jar
wrapper.classpath=/u​sr/lib/java/cj-thin.​jar

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
Attachments
Messages per page: