You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Nicola Ken Barozzi <ni...@apache.org> on 2002/04/16 14:16:31 UTC

[JJAR] Status? Jar Repository?

I've integrated commons-sandbox JJAR in my project, and soon some Jakarta
and XmlApache projects will be using it.

What is the current status? I heard rumors about a new version not yet
committed...

As for the jar repository, is it possible to anhance the jjar repository
with uptodate versions.
I can do it myself for the jars I use by putting them in the jjar repo, just
want to know if it's ok.

Thanks :-)

--
Nicola Ken Barozzi                   nicolaken@apache.org
            - verba volant, scripta manent -
   (discussions get forgotten, just code remains)
---------------------------------------------------------------------


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [JJAR] Status? Jar Repository?

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 4/16/02 9:00 AM, "Tomasz Pik" <pi...@ais.pl> wrote:

> 
> 
> Geir Magnusson Jr. wrote:
> 
>>> Geir Magnusson Jr. wrote:
>>> Two problems that appears during using of JJar:
>>> 1 there soluld be a possibility to specify full url to jar file
>>> (maybe something like xml:base)
> 
>> Also, when you say 'full URL to JAR file' where do you mean?
> 
> 
> As I remember it was impossible to specify:
> 
> <jar>file://somewhere/in/filesystem/file1.jar</jar>
> 
> <jar>http://somewhere.over.the.net/file2.jar</jar>
> 
> All files were loaded as thery are located in the
> same directory as 'repository.xml' or in sub(+)directory
> of this directory.

Ah, right.  There is no reason why not, I suppose.

I guess the thinking was that each project could own it's jjar repo/entry to
distribute the load around rather than centralize it, so you wouldn't go
leaping to 'other places' but get the jar from the same place as the repo
descriptor.  However, I guess that restriction isn't really valid.  And that
doesn't account for the need for the file: URL as well.

> 
> Tomek
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 

-- 
Geir Magnusson Jr.                                     geirm@optonline.net
System and Software Consulting

The cost of synchronization is much less that the cost of stupidity.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [JJAR] Status? Jar Repository?

Posted by Tomasz Pik <pi...@ais.pl>.

Geir Magnusson Jr. wrote:

>>Geir Magnusson Jr. wrote:
>>Two problems that appears during using of JJar:
>>1 there soluld be a possibility to specify full url to jar file
>> (maybe something like xml:base)

> Also, when you say 'full URL to JAR file' where do you mean?


As I remember it was impossible to specify:

<jar>file://somewhere/in/filesystem/file1.jar</jar>

<jar>http://somewhere.over.the.net/file2.jar</jar>

All files were loaded as thery are located in the
same directory as 'repository.xml' or in sub(+)directory
of this directory.

Tomek


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [JJAR] Status? Jar Repository?

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 4/16/02 8:31 AM, "Tomasz Pik" <pi...@ais.pl> wrote:

> 
> 
> Geir Magnusson Jr. wrote:
> 
>> 
>> Yes, I did a bit of cleanup that I have to commit.  The big change will be
>> the namespace of jar/project names to try and avoid collisions.
> 
> 
> Two problems that appears during using of JJar:
> 1 there soluld be a possibility to specify full url to jar file
>  (maybe something like xml:base)
> 2 there should be a possibility to specify more than one jar file
>  (batik has a lot of jar files).

I thought that was handled - for example, ant would depend on JAXP, which
has two jars (jaxp.jar and crimson.jar).

Will review.

Also, when you say 'full URL to JAR file' where do you mean?


> 
> I think a very good example of xml representation of repository is
> XML Catalogs specification (and xml.commons resolver as an
> implementation)
> 
> On the other way, I found that JJar is a very good tool for
> 'continous integration with ant' developing process.
> 
> 
> Thanks for this tool.
> 
> Tomek Pik
> pikus@ais.pl
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 

-- 
Geir Magnusson Jr.                                     geirm@optonline.net
System and Software Consulting

The cost of synchronization is much less that the cost of stupidity.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [JJAR] Status? Jar Repository?

Posted by Tomasz Pik <pi...@ais.pl>.

Geir Magnusson Jr. wrote:

> 
> Yes, I did a bit of cleanup that I have to commit.  The big change will be
> the namespace of jar/project names to try and avoid collisions.


Two problems that appears during using of JJar:
1 there soluld be a possibility to specify full url to jar file
   (maybe something like xml:base)
2 there should be a possibility to specify more than one jar file
   (batik has a lot of jar files).

I think a very good example of xml representation of repository is
XML Catalogs specification (and xml.commons resolver as an
implementation)

On the other way, I found that JJar is a very good tool for
'continous integration with ant' developing process.


Thanks for this tool.

Tomek Pik
pikus@ais.pl



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [JJAR] Status? Jar Repository?

Posted by Nicola Ken Barozzi <ni...@apache.org>.
> > > From: "Geir Magnusson Jr." <ge...@optonline.net>
> > >
> > >> On 4/16/02 8:47 AM, "Nicola Ken Barozzi" <ni...@apache.org>
wrote:
> > >>>
> > >>> http://jakarta.apache.org/jjar/repository.xml
> > >>> where do I update this?
> > >>
> > >> I just put that there for visibility :)  The real version should be
in
> > > CVS.

Sorry if I insist, but how do I tel JJAR to get them from the jjar commons
sandbox CVS?

--
Nicola Ken Barozzi                   nicolaken@apache.org
            - verba volant, scripta manent -
   (discussions get forgotten, just code remains)
---------------------------------------------------------------------


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [JJAR] Status? Jar Repository?

Posted by Henri Yandell <ba...@generationjava.com>.
> Apparently.
>
> Are you asking where to put the jars?  For now, I was putting them in
> jakarta.apache.org/jjar/
>
> It's not really clear we want to dump them into CVS just yet.

This is one of my consumer 'demands' or developer itches :)

I want to set a jars repository as being cvs://some-dir, http://... ftp://
etc.

Hen


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [JJAR] Status? Jar Repository?

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 4/16/02 9:55 AM, "Nicola Ken Barozzi" <ni...@apache.org> wrote:

> From: "Geir Magnusson Jr." <ge...@optonline.net>
> 
>> On 4/16/02 9:06 AM, "Nicola Ken Barozzi" <ni...@apache.org> wrote:
>> 
>>> From: "Geir Magnusson Jr." <ge...@optonline.net>
>>> 
>>>> On 4/16/02 8:47 AM, "Nicola Ken Barozzi" <ni...@apache.org> wrote:
>>>>> 
>>>>> http://jakarta.apache.org/jjar/repository.xml
>>>>> where do I update this?
>>>> 
>>>> I just put that there for visibility :)  The real version should be in
>>> CVS.
>>> 
>>> Oh. And the Jars? Download them with viewCVS?
>>> 
>> 
>> Are you kidding?
> 
> If you don't tell me where to put them and how to get them, I could go on
> for ages ;-P

Apparently.

Are you asking where to put the jars?  For now, I was putting them in
jakarta.apache.org/jjar/

It's not really clear we want to dump them into CVS just yet.


-- 
Geir Magnusson Jr.                                      geirm@optonline.net
System and Software Consulting
"Whoever would overthrow the liberty of a nation must begin by subduing the
freeness of speech." - Benjamin Franklin



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [JJAR] Status? Jar Repository?

Posted by Nicola Ken Barozzi <ni...@apache.org>.
From: "Geir Magnusson Jr." <ge...@optonline.net>

> On 4/16/02 9:06 AM, "Nicola Ken Barozzi" <ni...@apache.org> wrote:
>
> > From: "Geir Magnusson Jr." <ge...@optonline.net>
> >
> >> On 4/16/02 8:47 AM, "Nicola Ken Barozzi" <ni...@apache.org> wrote:
> >>>
> >>> http://jakarta.apache.org/jjar/repository.xml
> >>> where do I update this?
> >>
> >> I just put that there for visibility :)  The real version should be in
> > CVS.
> >
> > Oh. And the Jars? Download them with viewCVS?
> >
>
> Are you kidding?

If you don't tell me where to put them and how to get them, I could go on
for ages ;-P

AFAIK jjar uses http, but if I put them in CVS...
What do you expect me to do, RTFM? ;-)

"
There is no strict requirement as to how a repository is implemented. The
expected common implementation will be via http through a regular web server
(no server-side programmatic support will be required.) However, in the case
of local or enterprise use, it is expected that local file access will be
enough. The technical limitation will be that there is a protocol handler
for the access method of choice.
"

--
Nicola Ken Barozzi                   nicolaken@apache.org
            - verba volant, scripta manent -
   (discussions get forgotten, just code remains)
---------------------------------------------------------------------


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [JJAR] Status? Jar Repository?

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 4/16/02 10:08 AM, "Henri Yandell" <ba...@generationjava.com> wrote:

> 
> I think we're working towards having a real problem towards the consumer
> as to the difference between Maven and Jjar and why there are two tools
> with such an overlap.

I figured this would come up.

There is a real difference in purpose.  Maven, as I understand it, and I
can't speak for the developers - my only contribution besides moral support
was some tiny work on the DVSL in the beginning - is more of a continuous
integration tool, combining project many project and development management
features into one place.

JJAR was designed as a simple tool for use in many places, with a much
smaller scope in functionality.  The use we are talking about now is
basically jar retrieval, where you can have a repository of jars that you
can use for development, deployment, or whatever.  I.e. You can use JJAR to
fetch jars for building things : where the jars come from is of course up to
you 

- there should be a known-good set available from the projects and/or
central repository

- you could have your own set in your enterprise that you have tested and
trust

- you could use a repository descriptor that points to the daily Gump output
if you wanted to build against the latest-greatest all the time to test API
contracts and stability.

- etc

And how you use it is up to you.  Currently it works with ant as well as on
the command line.  Simple and light.  But some of the wackier ideas would be
things like using JJAR to feed a classloader on demand....  The point is to
be just another small tool in the toolbox (granted, one that requires
serious support on the backside...) that you use wherever...

> 
> I'd recently flipped my 'consumer' demands over to Maven. Do you see any
> forseeable solutions?

I don't think there is a problem, as they are different.  JJAR doesn't come
close to what Maven does.  There may be overlap in the functionality in that
Maven needed to have similar functionality as a part of itself, but that's a
different issue.

I see no need for strife here :)

-- 
Geir Magnusson Jr.                                     geirm@optonline.net
System and Software Consulting
The obvious solutions are challenging


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [JJAR] Status? Jar Repository?

Posted by Henri Yandell <ba...@generationjava.com>.
I think we're working towards having a real problem towards the consumer
as to the difference between Maven and Jjar and why there are two tools
with such an overlap.

I'd recently flipped my 'consumer' demands over to Maven. Do you see any
forseeable solutions?

Hen


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [JJAR] Status? Jar Repository?

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 4/16/02 9:06 AM, "Nicola Ken Barozzi" <ni...@apache.org> wrote:

> From: "Geir Magnusson Jr." <ge...@optonline.net>
> 
>> On 4/16/02 8:47 AM, "Nicola Ken Barozzi" <ni...@apache.org> wrote:
>>> 
>>> http://jakarta.apache.org/jjar/repository.xml
>>> where do I update this?
>> 
>> I just put that there for visibility :)  The real version should be in
> CVS.
> 
> Oh. And the Jars? Download them with viewCVS?
> 

Are you kidding?

-- 
Geir Magnusson Jr.                                     geirm@optonline.net
System and Software Consulting
"They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety." - Benjamin Franklin



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [JJAR] Status? Jar Repository?

Posted by Nicola Ken Barozzi <ni...@apache.org>.
From: "Geir Magnusson Jr." <ge...@optonline.net>

> On 4/16/02 8:47 AM, "Nicola Ken Barozzi" <ni...@apache.org> wrote:
> >
> > http://jakarta.apache.org/jjar/repository.xml
> > where do I update this?
>
> I just put that there for visibility :)  The real version should be in
CVS.

Oh. And the Jars? Download them with viewCVS?

--
Nicola Ken Barozzi                   nicolaken@apache.org
            - verba volant, scripta manent -
   (discussions get forgotten, just code remains)
---------------------------------------------------------------------


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [JJAR] Status? Jar Repository?

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 4/16/02 8:47 AM, "Nicola Ken Barozzi" <ni...@apache.org> wrote:

> From: "Geir Magnusson Jr." <ge...@optonline.net>
> 
> On 4/16/02 8:16 AM, "Nicola Ken Barozzi" <ni...@apache.org> wrote:
> 
>>> As for the jar repository, is it possible to anhance the jjar repository
>>> with uptodate versions.
>>> 
>>> I can do it myself for the jars I use by putting them in the jjar repo,
> just
>>> want to know if it's ok.
>> 
>> Yes - Just Do It
>> 
> 
> :-D
> 
> :-?
> Ok, but I've just realized that I dont know where to do the update!
> 
> http://jakarta.apache.org/jjar/repository.xml
> where do I update this?

I just put that there for visibility :)  The real version should be in CVS.

> 
> Is this the right place to put a repository (just curious of the available
> options)?
> 
> Since we will start to use it seriously, does this still apply?
> "
> Further this is currently not an official Jakarta Commons project, but a
> well-organized sandbox project. Therefore, production dependencies are
> discouraged.
> "

Of course :)  'discouraged', not 'forbidden' :)

I still think it's too sucky for proposal as a real project, but if we start
to use it heavily, I think we'll learn  much.  Right now it's a bit of
handwaving and dreaming.

 
> Thanks a bunch :-D
> 
> --
> Nicola Ken Barozzi                   nicolaken@apache.org
>           - verba volant, scripta manent -
>  (discussions get forgotten, just code remains)
> ---------------------------------------------------------------------
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 

-- 
Geir Magnusson Jr.                                     geirm@optonline.net
System and Software Consulting
"We will be judged not by the monuments we build, but by the monuments we
destroy" - Ada Louise Huxtable


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [JJAR] Status? Jar Repository?

Posted by Nicola Ken Barozzi <ni...@apache.org>.
From: "Geir Magnusson Jr." <ge...@optonline.net>

On 4/16/02 8:16 AM, "Nicola Ken Barozzi" <ni...@apache.org> wrote:

> > As for the jar repository, is it possible to anhance the jjar repository
> > with uptodate versions.
> >
> > I can do it myself for the jars I use by putting them in the jjar repo,
just
> > want to know if it's ok.
>
> Yes - Just Do It
>

:-D

:-?
Ok, but I've just realized that I dont know where to do the update!

http://jakarta.apache.org/jjar/repository.xml
where do I update this?

Is this the right place to put a repository (just curious of the available
options)?

Since we will start to use it seriously, does this still apply?
"
Further this is currently not an official Jakarta Commons project, but a
well-organized sandbox project. Therefore, production dependencies are
discouraged.
"

Thanks a bunch :-D

--
Nicola Ken Barozzi                   nicolaken@apache.org
            - verba volant, scripta manent -
   (discussions get forgotten, just code remains)
---------------------------------------------------------------------


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [JJAR] Status? Jar Repository?

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 4/16/02 8:16 AM, "Nicola Ken Barozzi" <ni...@apache.org> wrote:

> I've integrated commons-sandbox JJAR in my project, and soon some Jakarta
> and XmlApache projects will be using it.

Excellent.

> 
> What is the current status? I heard rumors about a new version not yet
> committed...

Yes, I did a bit of cleanup that I have to commit.  The big change will be
the namespace of jar/project names to try and avoid collisions.
 
> As for the jar repository, is it possible to anhance the jjar repository
> with uptodate versions.

> I can do it myself for the jars I use by putting them in the jjar repo, just
> want to know if it's ok.

Yes - Just Do It 

I will try and take a day off and get things up to date.  I have been
dreaming about JJAR recently - have some uses for it here at a client, so if
I can get that going, I'll be working with it every day.  I found that this
is the key for me...


> 
> Thanks :-)
> 
> --
> Nicola Ken Barozzi                   nicolaken@apache.org
>           - verba volant, scripta manent -
>  (discussions get forgotten, just code remains)
> ---------------------------------------------------------------------
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 

-- 
Geir Magnusson Jr.                                     geirm@optonline.net
System and Software Consulting
The bytecodes are language independent. - Sam Ruby  


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>