Re: - ZIP dependencies -

2003-07-18 Thread Rafal Krzewski
Velu VELOUTE wrote:
I renamed it to jar. Isn't that an option for you?

incze

Sure, it could also be a trick for now. But in fact, what is the use of 
that jars subdirectories in the maven repository and the  element 
in the project.xml if, at last, each dependency has to be a .jar file ?
I look at this from a different angle. .jar is a commonly accepted 
extension for class libraries. .ejb files are also class libraries --
you need to put them into the classpath to use them. OTOH .zip is
a general purpose format, often used to deliver soruce/binary
distributions of software. Despite the fact of having the same
file format as .jar, it's no more related with java classpath than say
.fred extension. Would you like maven to support class libraries
named .fred? :-)

R.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: - ZIP dependencies -

2003-07-18 Thread Velu VELOUTE
I renamed it to jar. Isn't that an option for you?

incze

Sure, it could also be a trick for now. But in fact, what is the use of that 
jars subdirectories in the maven repository and the  element in the 
project.xml if, at last, each dependency has to be a .jar file ?

Have a nice week,
LVV --
_
MSN Search, le moteur de recherche qui pense comme vous !  
http://search.msn.fr

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


include child elements in reactor ?

2003-07-18 Thread Paul Libbrecht
Hi,

I'd like to programmatically generate an amount of project files to be 
processed by the reactor... My best solution would be to have include 
elements inside the maven:reactor element... is this provided or thought 
about ?

Thanks.

Paul

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: newbie question: where to get info on xdocs..

2003-07-18 Thread Eitan Suez
ok, again i stand corrected.  it looks like nothing
stops me from using css to style the content.
/ eitan



Eitan Suez wrote:

ok, found it.  i should have guessed that it's
just another maven plugin.
by the way, it's interesting to see that the
look is controlled via properties rather than,
say, a css file.
/ eitan

Eitan Suez wrote:

hi,

  i'm just starting to study maven.

  where can i documentaiton on composing xdocs
  documents?  is there an xsd file somewhere?
  i suppose i can look at the maven source
  project for examples.
thanks, eitan


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: newbie question: where to get info on xdocs..

2003-07-18 Thread Eitan Suez
ok, found it.  i should have guessed that it's
just another maven plugin.
by the way, it's interesting to see that the
look is controlled via properties rather than,
say, a css file.
/ eitan

Eitan Suez wrote:

hi,

  i'm just starting to study maven.

  where can i documentaiton on composing xdocs
  documents?  is there an xsd file somewhere?
  i suppose i can look at the maven source
  project for examples.
thanks, eitan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


newbie question: where to get info on xdocs..

2003-07-18 Thread Eitan Suez
hi,

  i'm just starting to study maven.

  where can i documentaiton on composing xdocs
  documents?  is there an xsd file somewhere?
  i suppose i can look at the maven source
  project for examples.
thanks, eitan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: - ZIP dependencies -

2003-07-18 Thread Incze Lajos
On Fri, Jul 18, 2003 at 06:36:21PM +0200, Velu VELOUTE wrote:
> Hello everybody,
> 
> In my project.xml, my project needs the following dependency:
> 
> 
> 
>   jdbc
>   classes12
>   8.1.7.1
>   zip
> For now, I've dropped the .zip file into the jars subdirectory 
> (/jdbc/jars/classes12-8.1.7.1.zip) and I use something like that 
> (but it's not ideal):
> 
> 
> 
>   jdbc
>   classes12
>   8.1.7.1
>   classes12-8.1.7.1.zip
> 

I renamed it to jar. Isn't that an option for you?

incze

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Dependencies

2003-07-18 Thread Askren, Jay
Oops, I just realized, that those jar files are the dependencies for
FOP, and not the FOP jar file.  So, I think I understand now.  Sorry for
filling everyone's inbox.


Jay


-Original Message-
From: Askren, Jay 
Sent: Friday, July 18, 2003 2:19 PM
To: Maven Users List
Subject: RE: Dependencies

Thanks for you quick reply.  In many cases, one library may have
multiple jar files.  A good example is the FOP project:

http://xml.apache.org/fop/


It has the following jar files:

  fop
  0.20.4
  xalan-2.3.1.jar
  xercesImpl-2.0.1.jar
  xml-apis.jar
  avalon-framework-cvs-20020315.jar
  batik.jar


But, when I look at the online repository, there is only one jar file:
http://www.ibiblio.org/maven/fop/jars/


So, my question is how did they make one jar file out of five?

 
-Original Message-
From: __matthewHawthorne [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 18, 2003 1:43 PM
To: Maven Users List
Subject: Re: Dependencies

Each jar needs its own dependency tag.  Try pom:validate to make sure 
your project file is valid.




Askren, Jay wrote:

>I'm trying to set up Maven on a project of mine and am having some
>troubles with the dependencies.  We have a company library that I am
>including in the project, and I added the following to the project.xml
>file:
>
> 
>
>
>  Eden
>  1.1
>  EdenCommon.jar
>  EdenShared.jar
>  SudsServiceEjb.jar
>
>
> 
>
>I then added the jar files to my local repository.  The code doesn't
>compile, and I'm guessing it is because there are three jar files.  Am
I
>not allowed to have more than one jar file per dependency or did I just
>write it in correctly in my project file?  I see in the repository on
>ibiblio, the dependencies seem to have one jar file each.  I'm sure I
>can unjar all three and then jar them back up again, or can I just jar
>the three jar files into one jar file without first unjaring them?
>Thanks for your help.
>
> 
>
> 
>
> 
>
> 
>
> 
>
>Jay.
>
> 
>
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>  
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Dependencies

2003-07-18 Thread Askren, Jay
Thanks for you quick reply.  In many cases, one library may have
multiple jar files.  A good example is the FOP project:

http://xml.apache.org/fop/


It has the following jar files:

  fop
  0.20.4
  xalan-2.3.1.jar
  xercesImpl-2.0.1.jar
  xml-apis.jar
  avalon-framework-cvs-20020315.jar
  batik.jar


But, when I look at the online repository, there is only one jar file:
http://www.ibiblio.org/maven/fop/jars/


So, my question is how did they make one jar file out of five?

 
-Original Message-
From: __matthewHawthorne [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 18, 2003 1:43 PM
To: Maven Users List
Subject: Re: Dependencies

Each jar needs its own dependency tag.  Try pom:validate to make sure 
your project file is valid.




Askren, Jay wrote:

>I'm trying to set up Maven on a project of mine and am having some
>troubles with the dependencies.  We have a company library that I am
>including in the project, and I added the following to the project.xml
>file:
>
> 
>
>
>  Eden
>  1.1
>  EdenCommon.jar
>  EdenShared.jar
>  SudsServiceEjb.jar
>
>
> 
>
>I then added the jar files to my local repository.  The code doesn't
>compile, and I'm guessing it is because there are three jar files.  Am
I
>not allowed to have more than one jar file per dependency or did I just
>write it in correctly in my project file?  I see in the repository on
>ibiblio, the dependencies seem to have one jar file each.  I'm sure I
>can unjar all three and then jar them back up again, or can I just jar
>the three jar files into one jar file without first unjaring them?
>Thanks for your help.
>
> 
>
> 
>
> 
>
> 
>
> 
>
>Jay.
>
> 
>
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>  
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Dependencies

2003-07-18 Thread __matthewHawthorne
Each jar needs its own dependency tag.  Try pom:validate to make sure 
your project file is valid.



Askren, Jay wrote:

I'm trying to set up Maven on a project of mine and am having some
troubles with the dependencies.  We have a company library that I am
including in the project, and I added the following to the project.xml
file:


   
 Eden
 1.1
 EdenCommon.jar
 EdenShared.jar
 SudsServiceEjb.jar
   


I then added the jar files to my local repository.  The code doesn't
compile, and I'm guessing it is because there are three jar files.  Am I
not allowed to have more than one jar file per dependency or did I just
write it in correctly in my project file?  I see in the repository on
ibiblio, the dependencies seem to have one jar file each.  I'm sure I
can unjar all three and then jar them back up again, or can I just jar
the three jar files into one jar file without first unjaring them?
Thanks for your help.










Jay.





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Dependencies

2003-07-18 Thread Askren, Jay
I'm trying to set up Maven on a project of mine and am having some
troubles with the dependencies.  We have a company library that I am
including in the project, and I added the following to the project.xml
file:

 


  Eden
  1.1
  EdenCommon.jar
  EdenShared.jar
  SudsServiceEjb.jar


 

I then added the jar files to my local repository.  The code doesn't
compile, and I'm guessing it is because there are three jar files.  Am I
not allowed to have more than one jar file per dependency or did I just
write it in correctly in my project file?  I see in the repository on
ibiblio, the dependencies seem to have one jar file each.  I'm sure I
can unjar all three and then jar them back up again, or can I just jar
the three jar files into one jar file without first unjaring them?
Thanks for your help.

 

 

 

 

 

Jay.

 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: RE : JBuilder and Maven

2003-07-18 Thread David Liles
Thanks, now is there a way to over-ride this with a previous version, say through 
the use of a property file without having to change the library settings in JBuilder?

-Original Message- 
From: Nicolas FRANK [mailto:[EMAIL PROTECTED] 
Sent: Fri 7/18/2003 3:29 AM 
To: Maven Users List 
Cc: 
Subject: RE : JBuilder and Maven



When you install a snapshot a xxx-SNAPSHOT.jar is also created and always
updated with the most recent snapshot version. So you can simply add it into
your library list...

Nicolas.

-Message d'origine-
De : David Liles [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 18 juillet 2003 02:07
À : Maven Users List
Objet : JBuilder and Maven


If we generate JAR files with the  tag that versions them, how do
we get JBuilder to recognize them as external classes in our library list if
the JAR file name changes each time we build the JARs?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to not extend maven.xml from parent project to subprojects?

2003-07-18 Thread Tim Clendenen
The way I handle it is to create a unique goal in your root project which 
has one attainGoal tag that uses the preGoal on the new unique goal.

ex:


   




.



From: "Darren Hartford" <[EMAIL PROTECTED]>
Reply-To: "Maven Users List" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Subject: How to not extend maven.xml from parent project to subprojects?
Date: Fri, 18 Jul 2003 11:24:34 -0400
Hey all,
Still loving Maven, thank you thank you thank you
I came across this scenario, and it tripped me up a bit before finally 
figuring it out, so sharing it and wondering if there is a better way of 
handling it.  What I have is in my root project folder, the maven.xml has 
the following pre-goal to create a list of all the subprojects.  Attached 
below is the code snip if anyone is interested.

I got tripped up on this because the pre-goal I defined in my root maven.xml 
extended/carried over to all my subprojects.  This is kinda cool, but I 
don't want to do that in this scenario (it tries to run the pre-goal from 
the subproject, which the reactor doesn't like).  I suppose I could go into 
*each* maven.xml file in each of the subprojects and do an overwrite, but 
that just seems silly.  Any ideas?  TIA!
-D

===code snip===
 


  prettyPrint="true">
  

  KBMS Modules
  Darren Hartford


  

  The following are the modules that make up KBMS.


		
			basedir="modules"
			includes="*/project.xml"
			postProcessing="true"
		/>

		
		${reactorProject.artifactId}
		


  

  

  
===code snip===

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: WAR file naming

2003-07-18 Thread Nathan Coast
I'm sure this was a requirement for the ear plugin to generate the 
application.xml, not sure if it was ever implemented.

James Ward wrote:

Actually if you are packaging your war into an ear, you can specify the
context, or if you have jboss you can put a jboss-web.xml in your
WEB-INF and specify it there.  Regardless, the default behavior should
be the same as the jar and ejb plugins where it is named with the
version.  And of course there should be some way to override the name if
you do not want to specifically set the war's context using one of the
previously mentioned methods (or a different method).
-James

On Thu, 2003-07-17 at 13:37, Michal Maczka wrote:

-Original Message-
From: Andy Jefferson [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 9:01 PM
To: Maven Users List
Subject: WAR file naming
Its been raised as an issue by others but for a Maven newcomer, is there
any reason why the WAR file has a naming that omits the version and
hence is inconsistent with the JAR and EAR namings.
Yes. For many(all?) Servlet engines war file name = root context of the web
application.
That's why many users prefer to have an artifact which is ready to deploy.

In addition, it uses
the Ant task 'jar' instead of the Ant task 'war'.
Basically war task is simple extension of jar task:

http://cvs.apache.org/viewcvs/ant/src/main/org/apache/tools/ant/taskdefs/War
.java
and really does nothing special but provides you some nested tags which help
you
to put together files from different locations into war file.
In maven this is already solved/configurable in different way
and processing without using war task seems to be simpler
(e.g. no warning is printed when WEB-INF folder contains web.xml file).
Michal











-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


- ZIP dependencies -

2003-07-18 Thread Velu VELOUTE
Hello everybody,

In my project.xml, my project needs the following dependency:



 jdbc
 classes12
 8.1.7.1
 zip

Maven (beta-10) checks into the repository under 
/jdbc/zips/classes12-8.1.7.1.zip before building the project, 
that's okay. BUT, it doesn't append this .zip to the classpath. I've looked 
the DependencyClasspathBuilder.java class, the build() method only adds 
"jar" or "ejb" dependencies.

Is it possible in a future release to add the "zip" type ? <<
For now, I've dropped the .zip file into the jars subdirectory 
(/jdbc/jars/classes12-8.1.7.1.zip) and I use something like that 
(but it's not ideal):



 jdbc
 classes12
 8.1.7.1
 classes12-8.1.7.1.zip

Thanks,
le Velu Velouté --
_
Trouvez l'âme soeur sur MSN Rencontres ! http://g.msn.fr/FR1000/9551
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


How to not extend maven.xml from parent project to subprojects?

2003-07-18 Thread Darren Hartford
Hey all,
Still loving Maven, thank you thank you thank you

I came across this scenario, and it tripped me up a bit before finally figuring it 
out, so sharing it and wondering if there is a better way of handling it.  What I have 
is in my root project folder, the maven.xml has the following pre-goal to create a 
list of all the subprojects.  Attached below is the code snip if anyone is interested.

I got tripped up on this because the pre-goal I defined in my root maven.xml 
extended/carried over to all my subprojects.  This is kinda cool, but I don't want to 
do that in this scenario (it tries to run the pre-goal from the subproject, which the 
reactor doesn't like).  I suppose I could go into *each* maven.xml file in each of the 
subprojects and do an overwrite, but that just seems silly.  Any ideas?  TIA!
-D

===code snip===
 


  

  KBMS Modules
  Darren Hartford


  

  The following are the modules that make up KBMS.





${reactorProject.artifactId}



  

  

  
===code snip===

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Canoo WebTest Plugin 0.7 for Maven B10 available ...

2003-07-18 Thread Siegfried Göschl
Hi folks,

I just released the new version of the Canoo WebTest Plugin for Maven 
B10 on SF  don't get confused by the four releases of 0.7 - I 
have a shaky Internet access which caused problems during the file 
release.

Homepage: http://maven-plugins.sourceforge.net/webtest/index.html
Sample Report: http://maven-plugins.sourceforge.net/webtest/webtest-
report.html
Download: http://sourceforge.net/projects/maven-plugins/

Any feedback would be welcome ...

Siegfried Goeschl


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: API url for dependencies

2003-07-18 Thread Simon Matic Langford
it would work wonderfully if I wasn't behind a firewall :-(

The information contained in this e-mail is intended only for the person
or
entity to which it is addressed and may contain confidential and/or
privileged material. If You are not the intended recipient of this
e-mail,
the use of this information or any disclosure, copying or distribution
is
Prohibited and may be unlawful. If you received this in error, please
contact the sender and delete the material from any computer. The views
expressed in this e-mail may not necessarily be the views of The PCMS
Group
plc and should not be taken as authority to carry out any instruction
contained.
 

> -Original Message-
> From: Mark H. Wilkinson [mailto:[EMAIL PROTECTED] 
> Sent: 18 July 2003 08:30
> To: Maven Users List
> Subject: Re: API url for dependencies
> 
> 
> On Fri, 2003-07-18 at 01:28, [EMAIL PROTECTED] wrote:
> > "Simon Matic Langford" <[EMAIL PROTECTED]> wrote 
> on 18/07/2003 
> > 03:24:20 AM:
> > > Is it possible to define an API location for a dependency 
> so that the
> > > generated javadocs can be linked to them, or even an 
> offline location
> > > for those behind a firewall?
> > Nope, not possible, but it sounds like a nice addition.
> 
> I know it's not documented, but does setting 
> 'maven.javadoc.links' solve
> your problem? I've not tried it myself, but I believe you can 
> set it to
> a comma-separated list of URLs for API documentation and it will pass
> them to javadoc as '-link' options.
> 
> -Mark.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Maven / reactor memory consumption

2003-07-18 Thread BRUNOT Sébastien
Hi,

I'm using maven 1.0 b10 on a win32 platform, to build the sample everest
project provided with Vincent Massol TSSS slides about Maven. The build
process uses up to 150M of RAM : is it a normal behavior ?

Sebastien BRUNOT

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Using xml taglib within maven.xml ?

2003-07-18 Thread Paul Libbrecht
Hi,

Am I getting crazy or it really looks like I can't use the XML taglib 
within a maven.xml ?
How can I declare such a dependency ? Needing to write a plugin ?

Thanks.

Paul

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: WAR file naming

2003-07-18 Thread Michal Maczka
On Fri, 2003-07-18 at 09:07, Rafal Krzewski wrote:
> I'd vote for generating versioned war artifacts as a policy, and people
> who are too lazy to read their's servers docs can still make an
> unversioned copy of the war in their maven.xml
> 

Last time I changed the war plug-in so it started to produce versioned
wars, many people were "crying". So I quickly rolled back this
change
Personally I am also for versioned wars. I don't also think 
that the name of the produced war should be configurable...


Michal


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE : JBuilder and Maven

2003-07-18 Thread Nicolas FRANK
When you install a snapshot a xxx-SNAPSHOT.jar is also created and always
updated with the most recent snapshot version. So you can simply add it into
your library list... 

Nicolas.

-Message d'origine-
De : David Liles [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 18 juillet 2003 02:07
À : Maven Users List
Objet : JBuilder and Maven


If we generate JAR files with the  tag that versions them, how do
we get JBuilder to recognize them as external classes in our library list if
the JAR file name changes each time we build the JARs?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



sar plugin

2003-07-18 Thread Alwyn Schoeman
Hi,

Attached is a very rudimentary sar plugin that builds jboss sar files.
It doesn't do any fancy license and manifest stuff, but does its job.

Will make it better with time.

Regards,

-- 
Alwyn Schoeman
SMART Money Inc.

If you're a SMARTY and you're using the better DNS connections, you
can access my homepage at http://nevyn.smarties.com.ph/Members/alwyn.
The other unlucky ones: http://10.126.136.35/myplone


sar.tar.gz
Description: application/tar-gz
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: API url for dependencies

2003-07-18 Thread Paul Libbrecht
Going into b9's javadoc plugin.jelly seems to reveal that a property 
maven.javadoc.links could do the trick. It should be a space or eol 
separated separated list of URLs... no offline.

Making these plugins in jelly is really an amazing thing ! It appears 
very very easy to me to adapt this jelly file using a similar approach 
as the jnlp plugin to read such things as apiUrl and offlineApi 
elements in the dependencies...

Maven is real cool !

Paul



On Vendredi, juil 18, 2003, at 02:28 Europe/Paris, 
[EMAIL PROTECTED] wrote:

Nope, not possible, but it sounds like a nice addition.

How about raising it as an improvement on Jira ( 
http://jira.codehaus.org
) for the Maven project.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/
Work:  http://www.multitask.com.au

"Simon Matic Langford" <[EMAIL PROTECTED]> wrote on 
18/07/2003
03:24:20 AM:

Hi

Is it possible to define an API location for a dependency so that the
generated javadocs can be linked to them, or even an offline location
for those behind a firewall?
e.g.


  batik
  1.5
  http://xml.apache.org/batik
  http://xml.apache.org/batik/javadoc/
  etc/batik.packages

Thanks

simon

The information contained in this e-mail is intended only for the 
person
or
entity to which it is addressed and may contain confidential and/or
privileged material. If You are not the intended recipient of this
e-mail,
the use of this information or any disclosure, copying or distribution
is
Prohibited and may be unlawful. If you received this in error, please
contact the sender and delete the material from any computer. The 
views
expressed in this e-mail may not necessarily be the views of The PCMS
Group
plc and should not be taken as authority to carry out any instruction
contained.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Snapshot versions (beta 10)

2003-07-18 Thread Olivier Lamy
The matter is that i can't use an ant sybase tool in a maven project as this
:








   


In the trace (lauching maven with -e -X), I obtain the following exception
in the stack :

Caused by: org.omg.CORBA.INITIALIZE: can't instantiate default ORB
implementation com.sybase.CORBA.O
RB  vmcid: 0x0  minor code: 0  completed: No
at org.omg.CORBA.ORB.create_impl(ORB.java:297)
at org.omg.CORBA.ORB.init(ORB.java:336)
at
com.sybase.jaguar.management.jagtool.JTContext.initialize(JTContext.java:125
)
at
com.sybase.jaguar.management.jagtool.ant.ConnectTask.execute(ConnectTask.jav
a:74)
... 18 more
Caused by: java.lang.ClassNotFoundException: com.sybase.CORBA.ORB
at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:217)
at org.omg.CORBA.ORB.create_impl(ORB.java:295)

Whereas the com.sybase.CORBA.ORB is in maven.dependency.classpath.
My question is which classloader is used by this :



Is there any possibility to put the class com.sybase.CORBA.ORB (the jar
file) in a directory as maven root classpath, an endorsed dir or somewhere
else ?
Maybe I had to write a plugin to do this ? Is there any documentation on
"writing  a plugin" ?

Olivier


-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 18 juillet 2003 02:28
À : Maven Users List
Objet : RE: Snapshot versions (beta 10)


What does the sybase ant tool matter to maven??? 
-- 
dIon Gillard, Multitask Consulting 
Blog:  http://blogs.codehaus.org/people/dion/ 
Work:  http://www.multitask.com.au 


"Olivier Lamy" <[EMAIL PROTECTED]> wrote on 18/07/2003 
02:10:41 AM: 
> It sounds well :-))) 
> But I can't generate the servicesstub-20030717.044631.jar with 
> jar:install-snapshot 
> Because I can't use the sybase ant tool in a maven project. 
> 
> 
> -Message d'origine- 
> De : Brian Ewins [mailto:[EMAIL PROTECTED] 
> Envoyé : jeudi 17 juillet 2003 17:45 
> À : Maven Users List 
> Objet : Re: Snapshot versions (beta 10) 
> 
> 
> 
> Olivier Lamy wrote: 
> 
> > I try to define a snapshot dependency : 
> > 
> >  
> > serviceslayer 
> > servicesstub 
> > SNAPSHOT 
> >  
> > 
> > I have generate a snapshot version  in the repository : 
> > servicesstub-20030717.044631.jar 
> 
> if you do 'maven jar:install-snapshot', you will see that it installs 
> not just servicesstub-20030717.044631.jar (or some name like this) but 
> also servicesstub-SNAPSHOT.jar. Similarly for when it deploys to remote 
> repositories. 
> 
> The timestamped jar is created so that you can easily change your 
> project from unrepeatable dependency versions (SNAPSHOTs, which get 
> overwritten every time you do a jar:install-snapshot) to repeatable 
> dependency versions (the timestamped jars) when doing a release. 
> 
> It sounds like what you've done is just copy a timestamped jar into your 
> repository? 
> 
> > It's my company repository. 
> > I have the properties in the project.properties. 
> > maven.mode.online=true 
> > # to get some jars not found at ibiblio 
> > maven.repo.remote= 
> http://ip:8090/maven-respository,http://www.ibiblio.com/ma 
>  
> > ven 
> > 
> > Maven try to download the file 
> > 
> 
http://ip:8090/maven-respository/serviceslayer/jars/servicesstub-SNAPSHOT.ja

> 
 a> 
> > r 
> > 
> > What's wrong ?? (certainly me but why ??) 
> > Olivier 
> > 
> > 
> > 
> > This e-mail, any attachments and the information contained therein 
("this 
> message") are confidential and intended solely for the use of the 
> addressee(s). If you have received this message in error please send it 
back 
> to the sender and delete it. Unauthorized publication, use, 
dissemination or 
> disclosure of this message, either in whole or in part is strictly 
> prohibited. 
> 
> > ** 
> > Ce message électronique et tous les fichiers joints ainsi que  les 
> informations contenues dans ce message ( ci après "le message" ), sont 
> confidentiels et destinés exclusivement à l'usage de la  personne à 
laquelle 
> ils sont adressés. Si vous avez reçu ce message par erreur, merci  de le 
> renvoyer à son émetteur et de le détruire. Toutes diffusion, 
publication, 
> totale ou partielle ou divulgation sous quelque forme que se soit non 
> expressément autorisées de ce message, sont int

Re: API url for dependencies

2003-07-18 Thread Mark H. Wilkinson
On Fri, 2003-07-18 at 01:28, [EMAIL PROTECTED] wrote:
> "Simon Matic Langford" <[EMAIL PROTECTED]> wrote on 18/07/2003 
> 03:24:20 AM:
> > Is it possible to define an API location for a dependency so that the
> > generated javadocs can be linked to them, or even an offline location
> > for those behind a firewall?
> Nope, not possible, but it sounds like a nice addition.

I know it's not documented, but does setting 'maven.javadoc.links' solve
your problem? I've not tried it myself, but I believe you can set it to
a comma-separated list of URLs for API documentation and it will pass
them to javadoc as '-link' options.

-Mark.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: API url for dependencies

2003-07-18 Thread Trygve Laugstøl
I would like it if the api docs was read from the pom of the 
dependency, with the option to supply it in your own pom if you need a 
 offline cache or you just want it at the company intranet server.

Trygvis

[EMAIL PROTECTED] wrote:
Nope, not possible, but it sounds like a nice addition.

How about raising it as an improvement on Jira ( http://jira.codehaus.org 
) for the Maven project.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/
Work:  http://www.multitask.com.au

"Simon Matic Langford" <[EMAIL PROTECTED]> wrote on 18/07/2003 
03:24:20 AM:


Hi

Is it possible to define an API location for a dependency so that the
generated javadocs can be linked to them, or even an offline location
for those behind a firewall?
e.g.

   
 batik
 1.5
 http://xml.apache.org/batik
 http://xml.apache.org/batik/javadoc/
 etc/batik.packages
   
Thanks

simon

The information contained in this e-mail is intended only for the person
or
entity to which it is addressed and may contain confidential and/or
privileged material. If You are not the intended recipient of this
e-mail,
the use of this information or any disclosure, copying or distribution
is
Prohibited and may be unlawful. If you received this in error, please
contact the sender and delete the material from any computer. The views
expressed in this e-mail may not necessarily be the views of The PCMS
Group
plc and should not be taken as authority to carry out any instruction
contained.





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: WAR file naming

2003-07-18 Thread Rafal Krzewski
Andy Jefferson wrote:
>>>Actually if you are packaging your war into an ear, you can specify the
>>>context, or if you have jboss you can put a jboss-web.xml in your
>>>WEB-INF and specify it there.
>>
>>Can you do this with Tomact :P?

Setting the context name is trivial with Tomcat. In version 3.x you can
do it in the server.xml file, using  tag:



In 4.1.x it's even easier, you don't need to fuss around wiht server.xml
Instead of dropping the war into $TOMCAT_HOME/webapps you put in a
a little xml file in there, containing the  tag only.

I don't know if maven j2ee support plugins provide war deployment goals,
but if so I imagine that this file could be generated on the fly, based
on the war's final name, TOMCAT_HOME and context name configured in
project.properties.

I'd vote for generating versioned war artifacts as a policy, and people
who are too lazy to read their's servers docs can still make an
unversioned copy of the war in their maven.xml

R.

PS. Now I recall that Tomcat 3.x also had some way of declaring contexts
outside server.xml, but the files were looked up in $TOMCAT_HOME/conf.
Don't remeber the syntax though.





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]