Re: maven2 xdoclet plugin

2005-07-25 Thread Arto Pastinen

Hi!

XDoclet 1, unless what is the situation of the XDoclet 2?!?
If the hibernatedoclet works it is also fine for me..

Artsi

On Sun, 24 Jul 2005 20:54:04 +0300, Konstantin Priblouda  
<[EMAIL PROTECTED]> wrote:





--- Arto Pastinen <[EMAIL PROTECTED]> wrote:


Hi!

Does anyone know how to get xdoclet plugins to work
in maven2?!?


You mean XD 1.2.x or XD2 ?

regards,

[ Konstantin Pribluda http://www.pribluda.de ]
Still using XDoclet 1.x?  XDoclet 2 is released and of production  
quality.

check it out: http://xdoclet.codehaus.org

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

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





--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

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



maven2 xdoclet plugin

2005-07-24 Thread Arto Pastinen

Hi!

Does anyone know how to get xdoclet plugins to work in maven2?!?

- Artsi

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



RE: string replace

2005-03-08 Thread Arto Pastinen
ok.. i can make a copy from template.. 

On Wed, 2005-03-09 at 09:40 +0200, Arto Pastinen wrote:
> There is a problem.. it writes file over existing one..
> It must be different file. That xml file is only template for final..
> Any hints?!?
> 
> - Artsi
> 
> On Wed, 2005-03-09 at 09:28 +0200, Arto Pastinen wrote:
> > Yes, that is what i was searching.. Thank you Wim!
> > 
> > On Wed, 2005-03-09 at 08:27 +0100, Deblauwe, Wim wrote:
> > > You can do this easily in ant:
> > > http://ant.apache.org/manual/CoreTasks/replace.html
> > > 
> > > regards,
> > > 
> > > Wim
> > > 
> > > -Original Message-
> > > From: Arto Pastinen [mailto:[EMAIL PROTECTED]
> > > Sent: woensdag 9 maart 2005 8:16
> > > To: users@maven.apache.org
> > > Subject: string replace
> > > 
> > > 
> > > Hi!
> > > 
> > > Is there some plugin to replace strings in files?
> > > 
> > > I like to have a xml file, where i have my project version, but i like
> > > to replace it dynamically from project.xml.
> > > Like:
> > > ${pom.currentVersion}
> > > 
> > > - Artsi
> > > 
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > 
> > > - - - - - - - DISCLAIMER- - - - - - - -
> > > Unless indicated otherwise, the information contained in this message is
> > > privileged and confidential, and is intended only for the use of the
> > > addressee(s) named above and others who have been specifically authorized 
> > > to
> > > receive it. If you are not the intended recipient, you are hereby notified
> > > that any dissemination, distribution or copying of this message and/or
> > > attachments is strictly prohibited. The company accepts no liability for 
> > > any
> > > damage caused by any virus transmitted by this email. Furthermore, the
> > > company does not warrant a proper and complete transmission of this
> > > information, nor does it accept liablility for any delays. If you have
> > > received this message in error, please contact the sender and delete the
> > > message. Thank you.
-- 
Arto Pastinen <[EMAIL PROTECTED]>


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



RE: string replace

2005-03-08 Thread Arto Pastinen
There is a problem.. it writes file over existing one..
It must be different file. That xml file is only template for final..
Any hints?!?

- Artsi

On Wed, 2005-03-09 at 09:28 +0200, Arto Pastinen wrote:
> Yes, that is what i was searching.. Thank you Wim!
> 
> On Wed, 2005-03-09 at 08:27 +0100, Deblauwe, Wim wrote:
> > You can do this easily in ant:
> > http://ant.apache.org/manual/CoreTasks/replace.html
> > 
> > regards,
> > 
> > Wim
> > 
> > -Original Message-
> > From: Arto Pastinen [mailto:[EMAIL PROTECTED]
> > Sent: woensdag 9 maart 2005 8:16
> > To: users@maven.apache.org
> > Subject: string replace
> > 
> > 
> > Hi!
> > 
> > Is there some plugin to replace strings in files?
> > 
> > I like to have a xml file, where i have my project version, but i like
> > to replace it dynamically from project.xml.
> > Like:
> > ${pom.currentVersion}
> > 
> > - Artsi
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > - - - - - - - DISCLAIMER- - - - - - - -
> > Unless indicated otherwise, the information contained in this message is
> > privileged and confidential, and is intended only for the use of the
> > addressee(s) named above and others who have been specifically authorized to
> > receive it. If you are not the intended recipient, you are hereby notified
> > that any dissemination, distribution or copying of this message and/or
> > attachments is strictly prohibited. The company accepts no liability for any
> > damage caused by any virus transmitted by this email. Furthermore, the
> > company does not warrant a proper and complete transmission of this
> > information, nor does it accept liablility for any delays. If you have
> > received this message in error, please contact the sender and delete the
> > message. Thank you.
-- 
Arto Pastinen <[EMAIL PROTECTED]>


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



RE: string replace

2005-03-08 Thread Arto Pastinen
Yes, that is what i was searching.. Thank you Wim!

On Wed, 2005-03-09 at 08:27 +0100, Deblauwe, Wim wrote:
> You can do this easily in ant:
> http://ant.apache.org/manual/CoreTasks/replace.html
> 
> regards,
> 
> Wim
> 
> -Original Message-----
> From: Arto Pastinen [mailto:[EMAIL PROTECTED]
> Sent: woensdag 9 maart 2005 8:16
> To: users@maven.apache.org
> Subject: string replace
> 
> 
> Hi!
> 
> Is there some plugin to replace strings in files?
> 
> I like to have a xml file, where i have my project version, but i like
> to replace it dynamically from project.xml.
> Like:
> ${pom.currentVersion}
> 
> - Artsi
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> - - - - - - - DISCLAIMER- - - - - - - -
> Unless indicated otherwise, the information contained in this message is
> privileged and confidential, and is intended only for the use of the
> addressee(s) named above and others who have been specifically authorized to
> receive it. If you are not the intended recipient, you are hereby notified
> that any dissemination, distribution or copying of this message and/or
> attachments is strictly prohibited. The company accepts no liability for any
> damage caused by any virus transmitted by this email. Furthermore, the
> company does not warrant a proper and complete transmission of this
> information, nor does it accept liablility for any delays. If you have
> received this message in error, please contact the sender and delete the
> message. Thank you.
-- 
Arto Pastinen <[EMAIL PROTECTED]>


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



string replace

2005-03-08 Thread Arto Pastinen
Hi!

Is there some plugin to replace strings in files?

I like to have a xml file, where i have my project version, but i like
to replace it dynamically from project.xml.
Like:
${pom.currentVersion}

- Artsi

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



Re: How do you organize native libraries?

2004-09-23 Thread Arto Pastinen
Hi!

I wrote to this mail list some time ago because javaapp:install copy jar
to repostiory following way:

rep
 |- group
 |-jar
 |  |- artifact
 |
 |-apps
|- artifact-app

I can't use app in my application, because it's not under jar's, but i
fix it following way:


group
../apps/artifact-app
xx


Of course it can cause some strange functionality sometimes, but what
can you do..

Artsi

to, 2004-09-23 kello 12:40, Rune Fauske kirjoitti:
> Hi
> 
> I have a project which depends on other projects where the artifact consists of a 
> jar and a dll. I would really like to have this dll stored in the repository along 
> with the jar file and be able to add the dll to the dependencies. Unfortunately it 
> seems like it's only the  and  fields that forms the unique 
> id of the dependency. This makes it impossible to do something like the sample 
> below. An solution could be to "tag" the dependency with a property that states that 
> this artifact also depends on a native library.
> 
> 
> Sample:
>   repository
>|- group
>|-jars
>|  |- artifact-1.0.jar
>| 
>|-dlls
>   |- artifact-1.0.dll
> 
>   .
>   .
>   
> group
> artifact
> 1.0
>   
> 
>   
> group
> artifact
> 1.0
> dll
> artifact-1.0.dll
>   
>   .
>   .
> 
> --
> Rune Fauske
> 
> 
> DISCLAIMER:
> This message contains information that may be privileged or confidential and is the 
> property of the Roxar Group. It is intended only for the person to whom it is 
> addressed. If you are not the intended recipient, you are not authorised to read, 
> print, retain, copy, disseminate, distribute, or use this message or any part 
> thereof. If you receive this message in error, please notify the sender immediately 
> and delete all copies of this message.
> 
> -
> 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: specifying classpath

2004-09-22 Thread Arto Pastinen
Hi!

If you are make standalone jar, i suggest to use javaap plugin.
It extract dependencies to you jar, and you can start it by
java -jar myapplication-app-1.0.jar

Artsi

to, 2004-09-23 kello 02:52, Ashutosh Kumar kirjoitti:
> How can I specify classpath while making jar,war etc??
> Thanx & regds
> Ashutosh


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



Re: How to specify jboss-j2ee.jar to Maven

2004-09-20 Thread Arto Pastinen
Hi!

Add jboss to dependencies. There www.ibiblio.com/maven/jboss/jars

I think that you need jboss-j2ee-3.2.3.jar

Artsi

ma, 2004-09-20 kello 12:53, Dinko Hadzic kirjoitti:
> Hi,
> 
>  
> 
> I have had good experience with Maven on J2SE projects, however I am now
> trying to set up an J2EE project.
> 
>  
> 
> When i try to execute "maven ejb" I get the error message:
> 
> Package javax.ejb does not exist.
> 
>  
> 
> I am using JBoss application server. How can I make Maven look for the
> javax.ejb package in the jboss-j2ee.jar file?
> 
>  
> 
> Regards, Dinko
> 


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



Re: about javaapp:install

2004-09-12 Thread Arto Pastinen
Ok, i can fix it by following innovative idea:
../apps/

But still should it at least be possible to define the type where
install target install jar..

- Artsi

su, 2004-09-12 kello 19:48, Arto Pastinen kirjoitti:
> Hi!
> 
> How it is intended to use javaapp:install target?!??
> 
> It installs jar to xxx/apps/ but how can use it from there in my
> dependencies, because if i define dependency type as app, then maven
> assumes that packages extension is also app..
> 
> - Artsi
> 
> 
> -
> 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]



about javaapp:install

2004-09-12 Thread Arto Pastinen
Hi!

How it is intended to use javaapp:install target?!??

It installs jar to xxx/apps/ but how can use it from there in my
dependencies, because if i define dependency type as app, then maven
assumes that packages extension is also app..

- Artsi


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



Re: Error in simple Maven build file

2004-08-10 Thread Arto Pastinen
Hi!

I think that you c code should return 0 as return value, usually other
than 0 means some error.

Artsi

ti, 2004-08-10 kello 13:53, Claus Pedersen kirjoitti:
> I have the following maven.xml file:
> 
> 
> 
> 
> 
>   ${i}
>   
>   
>   
>   
>   
>   
> 
> 
> 
> 
> 
> The file test.c :
> 
> int main()
> {
>   int a = A;
>   printf("a = %i",a);
>   return a;
> }
> 
> It looks like it works... I get the right output from the function
> 
> Here is the Maven output:
> 
> build:start:
> 
> myGoal:
> [echo] 1
> [exec] a = 1
> [exec] [ERROR] Result: 1
> [echo] 2
> [exec] a = 2
> [exec] [ERROR] Result: 2
> [echo] 3
> [exec] a = 3
> [exec] [ERROR] Result: 3
> [echo] 4
> [exec] a = 4
> [exec] [ERROR] Result: 4
> [echo] 5
> [exec] a = 5
> [exec] [ERROR] Result: 5
> BUILD SUCCESSFUL
> Total time: 2 seconds
> 
> 
> All the right values are returned, but why does it say [ERROR] after the
> execution?
> 
> I hope you have an answer.
> 
> Best regards,
> Claus
> 
> 
> -
> 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: file:// protocol not working for remote repsoitory in 1.0

2004-07-28 Thread Arto Pastinen
Hi!

Have you tried to put url something like this: file:lonfs02...

Artsi

On Wed, 2004-07-28 at 09:31, Peter Anning wrote:
> Hi all,
> 
> We have a remote repository located on a Windows file server.
> 
> The repository could be accessed using the file: protocol in maven rc2 
> upgrading to 1.0 seems to have broken this. I have tested it by putting the 
> jar in question behind a local http server and it works.
> 
> build.properties are set as:
> maven.repo.remote=file:lonfs02/EBJAVA/repository,http://www.ibiblio.org/ma
> ven,http://dist.codehaus.org,http://www.codeczar.com/maven
> maven.repo.remote.enabled=true
> 
> Has anyone else seen this?
> 
> Below is the stack trace.
> 
> cheers
> Peter 
> 
> Attempting to download commons-discovery.jar.
> Getting URL: file://lonfs02/EBJAVA/repository/commons-discovery/jars/commons-
> dis
> covery.jar
> Error retrieving artifact from [file://lonfs02/EBJAVA/repository/commons-
> discove
> ry/jars/commons-discovery.jar]: java.net.ConnectException: Connection 
> refused: c
> onnect
> Error details
> java.net.ConnectException: Connection refused: connect
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
> at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
> at java.net.Socket.connect(Socket.java:434)
> at java.net.Socket.connect(Socket.java:384)
> at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
> at sun.net.NetworkClient.openServer(NetworkClient.java:118)
> at sun.net.ftp.FtpClient.openServer(FtpClient.java:423)
> at sun.net.ftp.FtpClient.(FtpClient.java:687)
> at sun.net.www.protocol.ftp.FtpURLConnection.connect
> (FtpURLConnection.ja
> va:175)
> at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:421)
> at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:287)
> at org.apache.maven.util.HttpUtils.getFile(HttpUtils.java:181)
> at org.apache.maven.verifier.DependencyVerifier.getRemoteArtifact
> (Depend
> encyVerifier.java:326)
> at org.apache.maven.verifier.DependencyVerifier.getDependencies
> (Dependen
> cyVerifier.java:255)
> at org.apache.maven.verifier.DependencyVerifier.satisfyDependencies
> (Depe
> ndencyVerifier.java:171)
> at org.apache.maven.verifier.DependencyVerifier.verify
> (DependencyVerifie
> r.java:97)
> at org.apache.maven.project.Project.verifyDependencies
> (Project.java:1365
> )
> at org.apache.maven.plugin.PluginManager.attainGoals
> (PluginManager.java:
> 510)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
> at org.apache.maven.cli.App.doMain(App.java:486)
> at org.apache.maven.cli.App.main(App.java:1215)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.
> java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


signature.asc
Description: This is a digitally signed message part


Re: Listings in maven repository on ibiblio?

2004-07-20 Thread Arto Pastinen
Artsi

No, why? Do you know that it take some time to download page?

Artsi

ti, 2004-07-20 kello 12:11, Norbert Pabiś kirjoitti:
> Hi
> 
> Is now listing on ibiblio forbidden?
> 
> http://www.ibiblio.org/maven/


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



Re: Réf. : Re: New dependency download display

2004-07-20 Thread Arto Pastinen
I don't think so..

I looked couple day's ago how this current console download meter
work's, and i did remember that there were also other meters, and good
quess about this maven.download.meter parameter was correct... =) maby i
should make some bet todays.. =)

Ok, i need to search from source how to spell parameter value.

Download meter's sources are in org.apache.maven.util package, see
http://maven.apache.org/xref/index.html

Artsi

ti, 2004-07-20 kello 11:06, [EMAIL PROTECTED] kirjoitti:
> Thanks !
> 
> ahem, Is this somewhere in the doc ... ?
> 
> Julien
> 
> 
> 
> 
> Extranet
> [EMAIL PROTECTED] - 20/07/2004 09:49
> 
> 
> Veuillez répondre à [EMAIL PROTECTED]
> 
> Pour : users
> 
> cc :
> 
> 
> Objet : Re: New dependency download display
> 
> 
> .. and old one is still in there.
> 
> maven -Dmaven.download.meter=bootstrap
> 
> default seems to be console
> 
> ti, 2004-07-20 kello 10:47, Arto Pastinen kirjoitti:
> > Hi!
> >
> > maven -Dmaven.download.meter=silent
> >
> > Artsi
> >
> > ti, 2004-07-20 kello 10:38, Dion Gillard kirjoitti:
> > > I too would like this feature.
> > >
> > > On Tue, 20 Jul 2004 09:35:42 +0200, [EMAIL PROTECTED]
> > > <[EMAIL PROTECTED]> wrote:
> > > > Hi
> > > >
> > > > Is it possible to disable the new way of display the dependency
> download
> > > > progression (the increasing number of downloaded kb) ?
> > > >
> > > > The reason is that we call maven from JBuilder, and the JBuilder
> output
> > > > console can only appends data, this means that the log is :
> > > >
> > > > 9/3409K 16/3409K 18/3409K 26/3409K 34/3409K 44/3409K 52/3409K
> 61/3409K 69/3409K 78/3409K 79/3409K 87/3409K 96/3409K 106/3409K  ...
> downloaded
> > > >
> > > > (the line is 5000 char longs ...)
> > > >
> > > > which make the output mostly useless
> > > >
> > > > Thanks
> > > >
> > > > Julien
> > > >
> > > > This message and any attachments (the "message") is
> > > > intended solely for the addressees and is confidential.
> > > > If you receive this message in error, please delete it and
> > > > immediately notify the sender. Any use not in accord with
> > > > its purpose, any dissemination or disclosure, either whole
> > > > or partial, is prohibited except formal approval. The internet
> > > > can not guarantee the integrity of this message.
> > > > BNP PARIBAS (and its subsidiaries) shall (will) not
> > > > therefore be liable for the message if modified.
> > > >
> > > > -
> > > >
> > > > Ce message et toutes les pieces jointes (ci-apres le
> > > > "message") sont etablis a l'intention exclusive de ses
> > > > destinataires et sont confidentiels. Si vous recevez ce
> > > > message par erreur, merci de le detruire et d'en avertir
> > > > immediatement l'expediteur. Toute utilisation de ce
> > > > message non conforme a sa destination, toute diffusion
> > > > ou toute publication, totale ou partielle, est interdite, sauf
> > > > autorisation expresse. L'internet ne permettant pas
> > > > d'assurer l'integrite de ce message, BNP PARIBAS (et ses
> > > > filiales) decline(nt) toute responsabilite au titre de ce
> > > > message, dans l'hypothese ou il aurait ete modifie.
> > > >
> > > > -
> > > > 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]
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> This message and any attachments (the "message") is
> intended solely for the addressees and is confidential. 
> If you receive this message in error, please delete it and 
> immediately notify the sender. Any use not in accord with 
> its purpose, any

Re: New dependency download display

2004-07-20 Thread Arto Pastinen
.. and old one is still in there.

maven -Dmaven.download.meter=bootstrap

default seems to be console

ti, 2004-07-20 kello 10:47, Arto Pastinen kirjoitti:
> Hi!
> 
> maven -Dmaven.download.meter=silent
> 
> Artsi
> 
> ti, 2004-07-20 kello 10:38, Dion Gillard kirjoitti:
> > I too would like this feature.
> > 
> > On Tue, 20 Jul 2004 09:35:42 +0200, [EMAIL PROTECTED]
> > <[EMAIL PROTECTED]> wrote:
> > > Hi
> > > 
> > > Is it possible to disable the new way of display the dependency download
> > > progression (the increasing number of downloaded kb) ?
> > > 
> > > The reason is that we call maven from JBuilder, and the JBuilder output
> > > console can only appends data, this means that the log is :
> > > 
> > > 9/3409K 16/3409K 18/3409K 26/3409K 34/3409K 44/3409K 52/3409K 61/3409K 69/3409K 
> > > 78/3409K 79/3409K 87/3409K 96/3409K 106/3409K  ... downloaded
> > > 
> > > (the line is 5000 char longs ...)
> > > 
> > > which make the output mostly useless
> > > 
> > > Thanks
> > > 
> > > Julien
> > > 
> > > This message and any attachments (the "message") is
> > > intended solely for the addressees and is confidential.
> > > If you receive this message in error, please delete it and
> > > immediately notify the sender. Any use not in accord with
> > > its purpose, any dissemination or disclosure, either whole
> > > or partial, is prohibited except formal approval. The internet
> > > can not guarantee the integrity of this message.
> > > BNP PARIBAS (and its subsidiaries) shall (will) not
> > > therefore be liable for the message if modified.
> > > 
> > > -
> > > 
> > > Ce message et toutes les pieces jointes (ci-apres le
> > > "message") sont etablis a l'intention exclusive de ses
> > > destinataires et sont confidentiels. Si vous recevez ce
> > > message par erreur, merci de le detruire et d'en avertir
> > > immediatement l'expediteur. Toute utilisation de ce
> > > message non conforme a sa destination, toute diffusion
> > > ou toute publication, totale ou partielle, est interdite, sauf
> > > autorisation expresse. L'internet ne permettant pas
> > > d'assurer l'integrite de ce message, BNP PARIBAS (et ses
> > > filiales) decline(nt) toute responsabilite au titre de ce
> > > message, dans l'hypothese ou il aurait ete modifie.
> > > 
> > > -
> > > 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: New dependency download display

2004-07-20 Thread Arto Pastinen
Hi!

maven -Dmaven.download.meter=silent

Artsi

ti, 2004-07-20 kello 10:38, Dion Gillard kirjoitti:
> I too would like this feature.
> 
> On Tue, 20 Jul 2004 09:35:42 +0200, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
> > Hi
> > 
> > Is it possible to disable the new way of display the dependency download
> > progression (the increasing number of downloaded kb) ?
> > 
> > The reason is that we call maven from JBuilder, and the JBuilder output
> > console can only appends data, this means that the log is :
> > 
> > 9/3409K 16/3409K 18/3409K 26/3409K 34/3409K 44/3409K 52/3409K 61/3409K 69/3409K 
> > 78/3409K 79/3409K 87/3409K 96/3409K 106/3409K  ... downloaded
> > 
> > (the line is 5000 char longs ...)
> > 
> > which make the output mostly useless
> > 
> > Thanks
> > 
> > Julien
> > 
> > This message and any attachments (the "message") is
> > intended solely for the addressees and is confidential.
> > If you receive this message in error, please delete it and
> > immediately notify the sender. Any use not in accord with
> > its purpose, any dissemination or disclosure, either whole
> > or partial, is prohibited except formal approval. The internet
> > can not guarantee the integrity of this message.
> > BNP PARIBAS (and its subsidiaries) shall (will) not
> > therefore be liable for the message if modified.
> > 
> > -
> > 
> > Ce message et toutes les pieces jointes (ci-apres le
> > "message") sont etablis a l'intention exclusive de ses
> > destinataires et sont confidentiels. Si vous recevez ce
> > message par erreur, merci de le detruire et d'en avertir
> > immediatement l'expediteur. Toute utilisation de ce
> > message non conforme a sa destination, toute diffusion
> > ou toute publication, totale ou partielle, est interdite, sauf
> > autorisation expresse. L'internet ne permettant pas
> > d'assurer l'integrite de ce message, BNP PARIBAS (et ses
> > filiales) decline(nt) toute responsabilite au titre de ce
> > message, dans l'hypothese ou il aurait ete modifie.
> > 
> > -
> > 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]



How to change artifactId

2004-07-16 Thread Arto Pastinen
Hi!

How can i temporarly change artifactId from project.
I need to change it because i want to deply snapshot jar, which contains
only some specific stuff from my project, and
org.apache.maven.artifact.deployer.*Deployer's deploySnapshot method
need's project object.

Artsi


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



RE: uberjar problem.

2004-07-16 Thread Arto Pastinen
hi!

I know that plugin, i think that i work's in my situation, but then
every builder must install that plugin, uberjar is in maven distribution
so it is easier to use for user's who don't know how to install plugins.

Artsi

pe, 2004-07-16 kello 13:11, "Göschl,Siegfried" kirjoitti:
> Hi Arto,
> 
> If you do not succeed you could have a look at the javaapp plugin at 
> http://maven-plugins.sourceforge.net
> 
> Cheers,
> 
> Siegfried Goeschl
> 
> -Original Message-
> From: Arto Pastinen [mailto:[EMAIL PROTECTED] 
> Sent: Freitag, 16. Juli 2004 12:04
> To: [EMAIL PROTECTED]
> Subject: uberjar problem.
> 
> 
> Hi!
> 
> I have defined some images in project.xml
> 
> 
>   
>   src/resources
> 
> 
> 
> And i try to get them in code by following way:
> new ImageIcon(ClassLoader.getSystemResource("icon.png"))
> 
> If i run "real" jar, then everything works fine, but if i run uberjar, i get 
> following stack:
> 
> Exception in thread "main" java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
> org.codehaus.classworlds.boot.Bootstrapper.bootstrap(Bootstrapper.java:209)
> at
> org.codehaus.classworlds.boot.Bootstrapper.main(Bootstrapper.java:116)
> Caused by: java.lang.NullPointerException
> at javax.swing.ImageIcon.(ImageIcon.java:138)
> 
> Ant hints??
> 
> Artsi
> 
> 
> -
> 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: uberjar problem.

2004-07-16 Thread Arto Pastinen
Yes i have also tried that.. but then i get:
at
sun.awt.image.URLImageSource.getDecoder(URLImageSource.java:112)
at
sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:248)
at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)

Is it possible that sun's ImageFetcher is broken?


pe, 2004-07-16 kello 13:16, Emmanuel Venisse kirjoitti:
> Try this :
> new ImageIcon(this.getClassLoader().getSystemResource("icon.png"))
> 
> With uberjar, you use the classworlds classloader and not the default
> classloader.
> 
> Emmanuel
> 
> ----- Original Message - 
> From: "Arto Pastinen" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, July 16, 2004 12:04 PM
> Subject: uberjar problem.
> 
> 
> > Hi!
> >
> > I have defined some images in project.xml
> >
> > 
> > 
> > src/resources
> > 
> > 
> >
> > And i try to get them in code by following way:
> > new ImageIcon(ClassLoader.getSystemResource("icon.png"))
> >
> > If i run "real" jar, then everything works fine, but if i run uberjar, i
> > get following stack:
> >
> > Exception in thread "main" java.lang.reflect.InvocationTargetException
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
> > at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
> > at java.lang.reflect.Method.invoke(Method.java:324)
> > at
> >
> org.codehaus.classworlds.boot.Bootstrapper.bootstrap(Bootstrapper.java:209)
> > at
> > org.codehaus.classworlds.boot.Bootstrapper.main(Bootstrapper.java:116)
> > Caused by: java.lang.NullPointerException
> > at javax.swing.ImageIcon.(ImageIcon.java:138)
> >
> > Ant hints??
> >
> > Artsi
> >
> >
> > -
> > 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]



uberjar problem.

2004-07-16 Thread Arto Pastinen
Hi!

I have defined some images in project.xml



src/resources



And i try to get them in code by following way:
new ImageIcon(ClassLoader.getSystemResource("icon.png"))

If i run "real" jar, then everything works fine, but if i run uberjar, i
get following stack:

Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.codehaus.classworlds.boot.Bootstrapper.bootstrap(Bootstrapper.java:209)
at
org.codehaus.classworlds.boot.Bootstrapper.main(Bootstrapper.java:116)
Caused by: java.lang.NullPointerException
at javax.swing.ImageIcon.(ImageIcon.java:138)

Ant hints??

Artsi


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



Re: Why don't I get any answer?

2004-06-20 Thread Arto Pastinen
.. ehh... forget that, i sould read little carefully before open my big  
mouth.. :))

On Mon, 21 Jun 2004 09:42:47 +0300, Arto Pastinen <[EMAIL PROTECTED]>  
wrote:

Hi!
About that first question.
Following is from maven reference (part: Properties Processing) :
In addition, System properties are processed after the above chain of  
properties files are processed. So, a property specified on the CLI  
using the -Dproperty=value convention will override any previous  
definition of that property.

So you can edit your maven script to find what ever you like properties.
And quick inspect in maven script shows, that it even inspect  
$home/.mavenrc where you can also define something.

On Mon, 21 Jun 2004 16:27:37 +1000, Dion Gillard  
<[EMAIL PROTECTED]> wrote:

On Mon, 21 Jun 2004 08:23:51 +0200, Peter Nabbefeld
<[EMAIL PROTECTED]> wrote:
Dion Gillard schrieb:
> What were your questions?
>
June, 13th:
I've seen, that the overall user preferences for maven have to be  
stored
in ${user.home}/build.properties. I'd prefer to either put it into
${user.home}/.maven/build.properties or to rename it to
${user.home}/maven.build.properties. Can I manage it from a config  
file?
No.
IMO, build.properties is a common name, and if I cannot assign it after
a while to the correct application (who cares about the config of a
running application?), it could be accidently deleted.
June, 14th:
could You please support a goal for the JDK 1.5 Apt utility?
It's not planned immediately. However, some discussion about what a
plugin would look like and how this would affect the java plugin would
be good.
As an open source project, we are volunteers. We usually don't just do
what someone asks, we work on the things that are important to us.
If you would like a feature added to Maven as a plugin, raise it in
our bug tracking system jira.

June, 20th:
parameters for goals seem to be poorly documented. Is there a chance to
ask the plugins for parameters, probably even programmatically?
No, this is not possible at the moment.
June, 20th:
in the user guide it is mentioned, that project.xml contains a jelly
script. As I've not found any maven jelly tags like 'jelly:project', I
Project.xml doesn't contain a jelly script. If you could point out
where in the guide it says that, we'll fix it.
wonder where is the jelly part or how maven parses/executes the file.
Probably I can find out myself, if You could tell me, where (in which
java source) the file project.xml is parsed.
It's in org.apache.maven.MavenUtils.
-
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: Why don't I get any answer?

2004-06-20 Thread Arto Pastinen
Hi!
About that first question.
Following is from maven reference (part: Properties Processing) :
In addition, System properties are processed after the above chain of  
properties files are processed. So, a property specified on the CLI using  
the -Dproperty=value convention will override any previous definition of  
that property.

So you can edit your maven script to find what ever you like properties.
And quick inspect in maven script shows, that it even inspect  
$home/.mavenrc where you can also define something.

On Mon, 21 Jun 2004 16:27:37 +1000, Dion Gillard <[EMAIL PROTECTED]>  
wrote:

On Mon, 21 Jun 2004 08:23:51 +0200, Peter Nabbefeld
<[EMAIL PROTECTED]> wrote:
Dion Gillard schrieb:
> What were your questions?
>
June, 13th:
I've seen, that the overall user preferences for maven have to be stored
in ${user.home}/build.properties. I'd prefer to either put it into
${user.home}/.maven/build.properties or to rename it to
${user.home}/maven.build.properties. Can I manage it from a config file?
No.
IMO, build.properties is a common name, and if I cannot assign it after
a while to the correct application (who cares about the config of a
running application?), it could be accidently deleted.
June, 14th:
could You please support a goal for the JDK 1.5 Apt utility?
It's not planned immediately. However, some discussion about what a
plugin would look like and how this would affect the java plugin would
be good.
As an open source project, we are volunteers. We usually don't just do
what someone asks, we work on the things that are important to us.
If you would like a feature added to Maven as a plugin, raise it in
our bug tracking system jira.

June, 20th:
parameters for goals seem to be poorly documented. Is there a chance to
ask the plugins for parameters, probably even programmatically?
No, this is not possible at the moment.
June, 20th:
in the user guide it is mentioned, that project.xml contains a jelly
script. As I've not found any maven jelly tags like 'jelly:project', I
Project.xml doesn't contain a jelly script. If you could point out
where in the guide it says that, we'll fix it.
wonder where is the jelly part or how maven parses/executes the file.
Probably I can find out myself, if You could tell me, where (in which
java source) the file project.xml is parsed.
It's in org.apache.maven.MavenUtils.
-
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: Why don't I get any answer?

2004-06-20 Thread Arto Pastinen
Hi!
I think that it has been just bad luck.. people has missed you questions.
Artsi
On Mon, 21 Jun 2004 08:02:35 +0200, Peter Nabbefeld  
<[EMAIL PROTECTED]> wrote:

Hi,
I've asked 4 questions before and didn't get any answer - could anybody  
tell me why? Is this probably an apache-members-only mailing list?

Kind regards
Peter
-
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: RC3 not so intelligent??

2004-06-09 Thread Arto Pastinen
Hi!
I think that it is mentioned in dependencies.
On Wed, 9 Jun 2004 19:10:26 +0800, Niclas Hedhman <[EMAIL PROTECTED]>  
wrote:

[EMAIL PROTECTED] cv]$ maven xdoc
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ not so intelligent? ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc3
Attempting to download maven-1.0-rc2.jar.
...
.
Just upgraded to RC3. Can someone tell me why the RC2 jar is downloaded  
??
(there is no POM for this 'project' )

Cheers
Niclas

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [ANN] Mevenide releases

2004-06-02 Thread Arto Pastinen
No. There really is RC1. Build at Sat, 29 May 2004 -- 01:05 (-0400).
See: http://www.eclipse.org/downloads/index.php
On Wed, 2 Jun 2004 12:14:22 +0200, Maczka Michal <[EMAIL PROTECTED]>  
wrote:


-Original Message-
From: Peter Bright [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 02, 2004 11:35 AM
To: 'Maven Users List'
Subject: RE: [ANN] Mevenide releases
I presume him to mean "use Eclipse 3.0 M9 or 3.0 RC1".  RC1
is available,
but it doesn't seem to be mentioned on eclipse.org (at least,
not that I can
see).
I guess that Eclipse RC1 = M9
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]


RE: Classpath Problem

2004-05-25 Thread Arto Pastinen
Ok, well that was only the quess, maby ant&maven uses different
parses|versions which works differently based on JVM's version or
something i don't know.. =) 

But can you drive that with maven -e, and send stack trace, that i can
see where exception actually is throwed??

Is that workzen.xit.ant.Xml2BeanTask opensource?? can i see sources from
somewhere??

Artsi

On Tue, 2004-05-25 at 12:54, Amato Massimiliano (TLAB) wrote:
> I tried it but this is not the case for me. Also why should the error be present 
> only on Maven and not on Ant?
> 
> I do not really have a clue now...
> 
> -----Original Message-
> From: Arto Pastinen [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 25, 2004 11:05 AM
> To: Maven Users List
> Subject: RE: Classpath Problem
> 
> 
> Hi!
> 
> Try to search that ConstructorAccessorImpl with google, and you see that
> it's quite commond problem.
> See this:
> http://66.102.9.104/search?q=cache:ErI27w5ibV4J:www.geocrawler.com/archives/3/8797/2002/6/0/8955802/+ConstructorAccessorImpl&hl=en
> Maby updating you JVM can helps..
> 
> Artsi 
> 
> On Tue, 2004-05-25 at 11:35, Amato Massimiliano (TLAB) wrote:
> > Yes, but i don't think this is the problem. 
> > 
> > MY first test was to have an ant script that worked perfectly with all the 
> > dependancy in a lib directory, then I updated the script to use maven but i kept 
> > the libs local not in the repository and it startet having problem
> > 
> > I think this could be related to an xml parser, since in the ant execution it 
> > gives me a warning about jaxp not able to invoce SAX, swtiching now to aelfred 
> > that under maven is not printed
> > 
> > Max
> > 
> > -Original Message-
> > From: Dion Gillard [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, May 25, 2004 1:07 AM
> > To: Maven Users List
> > Subject: Re: Classpath Problem
> > 
> > 
> > Does it require tools.jar from the JDK on the classpath?
> > 
> > On Mon, 24 May 2004 16:51:12 +0200, Amato Massimiliano (TLAB)
> > <[EMAIL PROTECTED]> wrote:
> > > 
> > > Hello,
> > > 
> > > I am trying to write a plugin for workzen. I built an ant script that works 
> > > perfectly but when i tried to convert it into a plugin it failed.
> > > 
> > > It looks like it is a classpath problem but i don't know exactly what to do..
> > > 
> > > Here's the output of my execution and the plugin.jelly file
> > > 
> > > 
> > > 
> > >  > > xmlns:j="jelly:core"
> > > xmlns:jelxml="jelly:xml"
> > > xmlns:jelant="jelly:ant"
> > > xmlns:maven="jelly:maven"
> > > xmlns:m="maven">
> > > 
> > >   
> > > 
> > >  
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > >  > > path="${plugin.getDependencyPath('workzen+xit')}"/>
> > > 
> > > 
> > > 
> > > 
> > >  > > Template  = "/${basedir}/src/conf/pojo/control.vm"
> > > InputUrl= "/${basedir}/src/conf/pojo/bean.xml"
> > > OutputDir   = "./work/fred/output1">
> > > 
> > > 
> > >   
> > > 
> > > 
> > > 
> > > And here's the output
> > >  __  __
> > > |  \/  |__ _Apache__ ___
> > > | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> > > |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
> > > 
> > > 0 [main] INFO workzen.xit.Engine  - input connector: 
> > > workzen.xit.module.xml2bean.connector.Xml2BeanConnector
> > > 0 [main] INFO workzen.xit.connector.XmlConnector  - input url: 
> > > /D:/Projects/Misc/Generator/src/conf/pojo/bean.xml
> > > 16 [main] INFO workzen.xit.connector.XmlConnector  - output url: null
> > > 328 [main] DEBUG workzen.xit.module.xml2bean.util.XmlLoader  - 
> > > package:com.workzen.xit.module.xml2bean.test
> > > 344 [main] DEBUG workzen.xit.module.xml2bean.util.XmlLoader  - bean name:TypeBean
> > > 359 [main] DEBUG workzen.xit.module.xml2bean.util.XmlLoader  - fit size: 15
> > > 359 [main] DEBUG workzen.xit.module.xml2bean.util.XmlLoader  - 

RE: Classpath Problem

2004-05-25 Thread Arto Pastinen
Hi!

Try to search that ConstructorAccessorImpl with google, and you see that
it's quite commond problem.
See this:
http://66.102.9.104/search?q=cache:ErI27w5ibV4J:www.geocrawler.com/archives/3/8797/2002/6/0/8955802/+ConstructorAccessorImpl&hl=en
Maby updating you JVM can helps..

Artsi 

On Tue, 2004-05-25 at 11:35, Amato Massimiliano (TLAB) wrote:
> Yes, but i don't think this is the problem. 
> 
> MY first test was to have an ant script that worked perfectly with all the 
> dependancy in a lib directory, then I updated the script to use maven but i kept the 
> libs local not in the repository and it startet having problem
> 
> I think this could be related to an xml parser, since in the ant execution it gives 
> me a warning about jaxp not able to invoce SAX, swtiching now to aelfred that under 
> maven is not printed
> 
> Max
> 
> -Original Message-
> From: Dion Gillard [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 25, 2004 1:07 AM
> To: Maven Users List
> Subject: Re: Classpath Problem
> 
> 
> Does it require tools.jar from the JDK on the classpath?
> 
> On Mon, 24 May 2004 16:51:12 +0200, Amato Massimiliano (TLAB)
> <[EMAIL PROTECTED]> wrote:
> > 
> > Hello,
> > 
> > I am trying to write a plugin for workzen. I built an ant script that works 
> > perfectly but when i tried to convert it into a plugin it failed.
> > 
> > It looks like it is a classpath problem but i don't know exactly what to do..
> > 
> > Here's the output of my execution and the plugin.jelly file
> > 
> > 
> > 
> >  > xmlns:j="jelly:core"
> > xmlns:jelxml="jelly:xml"
> > xmlns:jelant="jelly:ant"
> > xmlns:maven="jelly:maven"
> > xmlns:m="maven">
> > 
> >   
> > 
> >  
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >  > path="${plugin.getDependencyPath('workzen+xit')}"/>
> > 
> > 
> > 
> > 
> >  > Template  = "/${basedir}/src/conf/pojo/control.vm"
> > InputUrl= "/${basedir}/src/conf/pojo/bean.xml"
> > OutputDir   = "./work/fred/output1">
> > 
> > 
> >   
> > 
> > 
> > 
> > And here's the output
> >  __  __
> > |  \/  |__ _Apache__ ___
> > | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> > |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
> > 
> > 0 [main] INFO workzen.xit.Engine  - input connector: 
> > workzen.xit.module.xml2bean.connector.Xml2BeanConnector
> > 0 [main] INFO workzen.xit.connector.XmlConnector  - input url: 
> > /D:/Projects/Misc/Generator/src/conf/pojo/bean.xml
> > 16 [main] INFO workzen.xit.connector.XmlConnector  - output url: null
> > 328 [main] DEBUG workzen.xit.module.xml2bean.util.XmlLoader  - 
> > package:com.workzen.xit.module.xml2bean.test
> > 344 [main] DEBUG workzen.xit.module.xml2bean.util.XmlLoader  - bean name:TypeBean
> > 359 [main] DEBUG workzen.xit.module.xml2bean.util.XmlLoader  - fit size: 15
> > 359 [main] DEBUG workzen.xit.module.xml2bean.util.XmlLoader  - field name:pKey
> > 359 [main] DEBUG workzen.xit.module.xml2bean.util.XmlLoader  - isprimary:true
> > testa:
> > [xml2bean] [ERROR] java.lang.NoClassDefFoundError: 
> > sun/reflect/ConstructorAccessorImpl
> > BUILD SUCCESSFUL
> > Total time: 6 seconds
> > Finished at: Mon May 24 16:43:17 CEST 2004
> > 
> > Any help would be great
> > Max
> > 
> > -
> > 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: mks and maven

2004-05-12 Thread Arto Pastinen
Hi!

I don't have nothing to say for your problem, but anyway what is this
MKS?

Artsi

On Wed, 2004-05-12 at 12:48, John O'Reilly wrote:
> I'm not sure to be honest.  I'm quite new to MKS (have been luckly enough up
> to now to have been able to use cvs).  Do you have any more info on this?
> 
> -Original Message-
> From: ECCLES, Stuart [mailto:[EMAIL PROTECTED]
> Sent: 11 May 2004 17:06
> To: 'Maven Users List'
> Subject: RE: mks and maven
> 
> 
> im very interested in this as well. doesnt MKS support a CVS interface?
> 
>  
> 
> -Original Message-
> From: John O'Reilly [mailto:[EMAIL PROTECTED]
> Sent: 11 May 2004 17:00
> To: '[EMAIL PROTECTED]'
> Subject: mks and maven
> 
> 
> Hi,
> 
> Is there any integration between Maven and MKS Source Integrity.  
> 
> Thanks,
> John
> 
> This e-mail and any files transmitted with it are confidential and may be
> privileged and are intended solely for the individual named/ for the use of
> the individual or entity to whom they are addressed.If you are not the
> intended addressee, you should not disseminate, distribute or copy this
> e-mail.Please notify the sender immediately if you have received this e-mail
> by mistake and delete this e-mail from your system.If you are not the
> intended recipient, you are notified that reviewing, disclosing, copying,
> distributing or taking any action in reliance on the contents of this e-mail
> is strictly prohibited.Please note that any views or opinions expressed in
> this e-mail are solely those of the author and do not necessarily represent
> those of Traventec Limited.E-mail transmission cannot be guaranteed to be
> secure or error-free as information could be intercepted, corrupted, lost,
> destroyed, or arrive late or incomplete.Traventec Limited therefore does not
> accept liability for any errors or omissions in the contents of this
> message, which arise as a result of e-mail transmission.The recipient should
> check this e-mail and any attachments for the presence of viruses.This
> e-mail has been swept for computer viruses however Traventec Limited accepts
> no liability for any damage caused by any virus transmitted by this e-mail.
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ..
> BUPA
> .
> BUPA House, 15-19 Bloomsbury Way, London, WC1A 2BA
> .
> Internet communications are not secure and therefore BUPA does
> not accept legal responsibility for the contents of this message. Any 
> views or opinions presented are solely those of the author and do 
> not necessarily represent those of BUPA.
> .
> 
> 
> This e-mail and any files transmitted with it are confidential and may be
> privileged and are intended solely for the individual named/ for the use of
> the individual or entity to whom they are addressed.If you are not the
> intended addressee, you should not disseminate, distribute or copy this
> e-mail.Please notify the sender immediately if you have received this e-mail
> by mistake and delete this e-mail from your system.If you are not the
> intended recipient, you are notified that reviewing, disclosing, copying,
> distributing or taking any action in reliance on the contents of this e-mail
> is strictly prohibited.Please note that any views or opinions expressed in
> this e-mail are solely those of the author and do not necessarily represent
> those of Traventec Limited.E-mail transmission cannot be guaranteed to be
> secure or error-free as information could be intercepted, corrupted, lost,
> destroyed, or arrive late or incomplete.Traventec Limited therefore does not
> accept liability for any errors or omissions in the contents of this
> message, which arise as a result of e-mail transmission.The recipient should
> check this e-mail and any attachments for the presence of viruses.This
> e-mail has been swept for computer viruses however Traventec Limited accepts
> no liability for any damage caused by any virus transmitted by this e-mail.
> 
> -
> 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: maven, junit & JAAS

2004-05-03 Thread Arto Pastinen
Ok, if someone interested, i must add:
maven.junit.jvmargs=-Djava.security.auth.login.config=test.conf
to project.properties, instead definind that in command line.

On Mon, 2004-05-03 at 13:14, Arto Pastinen wrote:
> Hi!
> 
> Is someone made junit test case which try to login by using JAAS?
> I try to call maven with following:
> maven -Djava.security.manager
> -Djava.security.auth.login.config=/home/artsi/workspace/server/test.conf
> test
> 
> But i still got:
> Testcase: test(fi.canter.ams.JAASLoginTest):Caused an ERROR
> Unable to locate a login configuration
> java.lang.SecurityException: Unable to locate a login configuration
> at
> com.sun.security.auth.login.ConfigFile.(ConfigFile.java:97)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> 
> 
> Artsi
> 
> 
> -
> 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, junit and JAAS

2004-05-03 Thread Arto Pastinen
Hi!

Is someone made junit test case which try to login by using JAAS?
I try to call maven with following:
maven -Djava.security.manager
-Djava.security.auth.login.config=/home/artsi/workspace/server/test.conf
test

But i still got:
Testcase: test(fi.canter.ams.JAASLoginTest):Caused an ERROR
Unable to locate a login configuration
java.lang.SecurityException: Unable to locate a login configuration
at
com.sun.security.auth.login.ConfigFile.(ConfigFile.java:97)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)


Artsi


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



maven, junit & JAAS

2004-05-03 Thread Arto Pastinen
Hi!

Is someone made junit test case which try to login by using JAAS?
I try to call maven with following:
maven -Djava.security.manager
-Djava.security.auth.login.config=/home/artsi/workspace/server/test.conf
test

But i still got:
Testcase: test(fi.canter.ams.JAASLoginTest):Caused an ERROR
Unable to locate a login configuration
java.lang.SecurityException: Unable to locate a login configuration
at
com.sun.security.auth.login.ConfigFile.(ConfigFile.java:97)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)


Artsi


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



Re: build.properties & project.xml inheritence

2004-04-27 Thread Arto Pastinen
I just make some test where i put properties in "master"
project.properties, and called it with maven multiproject plugin, and
there subproject's got those properties.

On Tue, 2004-04-27 at 11:03, Michael Mattox wrote:
> I set up a master project.xml and my subprojects extend it.  This is working
> great.  The problem is if I want to define properties in build.properties
> and have them shared by the entire hierachy of projects.  For example, I
> define the webserver IP address in my "master" build.properties.  How can I
> get this to be inherited by all my subprojects?  So far the only way I see
> is to define a build.properties in my user home directory.  The problem with
> this is I want this file to be stored in CVS.  The build won't work without
> it.  Please let me know if there is a way to do this.
> 
> The solution, I think, is that when you extend a project.xml you should also
> inherit its build.properties.  That way there is a "master" build.properties
> for the project, and it's stored in CVS with the project.
> 
> Regards,
> Michael Mattox
> 
> 
> --
> This E-mail is confidential.  It may also be legally privileged.  If you are
> not the addressee you may not copy, forward, disclose or use any part of it.
> If you have received this message in error, please delete it and all copies
> from your system and notify the sender immediately by return E-mail.
> Internet communications cannot be guaranteed to be timely, secure, error or
> virus-free.  The sender does not accept liability for any errors or omissions.
> 
> 
> -
> 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: build.properties & project.xml inheritence

2004-04-27 Thread Arto Pastinen
On Tue, 2004-04-27 at 11:03, Michael Mattox wrote:
> I set up a master project.xml and my subprojects extend it.  This is working
> great.  The problem is if I want to define properties in build.properties
> and have them shared by the entire hierachy of projects.  For example, I
> define the webserver IP address in my "master" build.properties.  How can I
> get this to be inherited by all my subprojects?  So far the only way I see
> is to define a build.properties in my user home directory.  The problem with
> this is I want this file to be stored in CVS.  The build won't work without
> it.  Please let me know if there is a way to do this.
> 
> The solution, I think, is that when you extend a project.xml you should also
> inherit its build.properties.  That way there is a "master" build.properties
> for the project, and it's stored in CVS with the project.
> 
> Regards,
> Michael Mattox
> 
> 
> --
> This E-mail is confidential.  It may also be legally privileged.  If you are
> not the addressee you may not copy, forward, disclose or use any part of it.
> If you have received this message in error, please delete it and all copies
> from your system and notify the sender immediately by return E-mail.
> Internet communications cannot be guaranteed to be timely, secure, error or
> virus-free.  The sender does not accept liability for any errors or omissions.
> 
> 
> -
> 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 use scm:bootstrap-project

2004-04-27 Thread Arto Pastinen
Hi!

I don't think that maven inspects your CVS definitions from enviroments.

Look this to see how to define CVS:
http://maven.apache.org/reference/project-descriptor.html#repository

Artsi

On Tue, 2004-04-27 at 10:44, Michael Mattox wrote:
> I can't get scm:bootstrap-project to work.  I've searched the mailing list
> and documentation and there's not much.  Can someone please let me know if
> they have any ideas on how to do this?
> 
> D:\projects\MDSP\maven\cs-common>set CVSROOT
> CVSROOT=:pserver:mmattox:[EMAIL PROTECTED]:C:/cvsrepo/repdev
> 
> D:\projects\MDSP\maven\cs-common>maven -Dmaven.scm.cvs.module=sources/cs-com
> mon scm:bootstrap-project
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc2
> 
> 
> BUILD FAILED
> File.. file:/C:/Documents and
> Settings/mmattox/.maven/plugins/maven-scm-plugin-1.2/plugin.jelly
> Element... ant:fail
> Line.. 96
> Column 19
> Unknown SCM method: ''
> Total time: 6 seconds
> Finished at: Mon Apr 26 12:07:54 CEST 2004
> 
> D:\projects\MDSP\maven\cs-common>
> 
> 
> --
> This E-mail is confidential.  It may also be legally privileged.  If you are
> not the addressee you may not copy, forward, disclose or use any part of it.
> If you have received this message in error, please delete it and all copies
> from your system and notify the sender immediately by return E-mail.
> Internet communications cannot be guaranteed to be timely, secure, error or
> virus-free.  The sender does not accept liability for any errors or omissions.
> 
> 
> -
> 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: DLLs as dependencies

2004-04-22 Thread Arto Pastinen
.. and *.so also. ;)


On Thu, 2004-04-22 at 15:22, David R Robison wrote:
> I have a project that uses the wrapper.jar as one of its dependencies. However,
> along with the jar, there is also a wrapper.dll that is needed. Is there a way
> to specify the dll as a dependency as well? This would be useful for all
> projects using JNI.
> 
> David
> 
> -
> 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: Changelog cvs problems

2004-04-22 Thread Arto Pastinen
Yes, and actually doesn't xml spec's has something to say about those
'/' characters.. =) don't remember character english name..

On Thu, 2004-04-22 at 14:09, Peter Bright wrote:
> Using : as a separator does not play nicely with drive letters.
> 
> > -Original Message-
> > From: Arto Pastinen [mailto:[EMAIL PROTECTED]
> > Sent: 22 April 2004 12:12
> > To: Maven Users List
> > Subject: Re: Changelog cvs problems
> > 
> > 
> > 
> > Hi!
> > 
> > Did you miss Menetrieux's reply this today?
> > Here it is:
> > 
> > Why you do use : as separator ??
> > Why you don't use an other separator ? 
> > I'm under linux too and this works fine: 
> > You see that the ':' separator is use for separate username 
> > and passwd..
> > 
> > scm|cvs|pserver|username:[EMAIL PROTECTED]|repository|
> > module > tion>
> > 
> > Actually i didn't test it, i added anonymous access to CVS, 
> > but try it,
> > i think that it can help.
> > 
> > On Thu, 2004-04-22 at 13:59, Mylene Reiners wrote:
> > > Hi,
> > > 
> > > I am desperately trying to get the Changelog to work, for 2 
> > days now.
> > > 
> > > I'm running Windows 2000 SP4, CVSNT, CVS 1.11.15, Maven v. 1.0-rc2.
> > > 
> > > Conn. string:
> > > 
> > >  
> > > 
> > scm|cvs|pserver|[EMAIL PROTECTED]|C:/OSO
> > /cvsrepo/test|
> > > Sample_project2
> > > 
> > > 
> > > Result:
> > > [echo] Generating the Change Log...
> > > maven-changelog-plugin:report:
> > > [echo] Generating the changelog report
> > > Didn't find password for CVSROOT
> > > ':pserver:[EMAIL PROTECTED]:C:/OSO/cvsrepo/test'.
> > > org.netbeans.lib.cvsclient.connection.AuthenticationException: Wrong
> > > Password.
> > > ChangeLog found: 0 entries
> > > 
> > > I tried first logging in to CVS, but that didn't help - 
> > also I tried both
> > > with the auto-generated .cvspass and with the "/1 " deleted (see 
> > > http://jira.codehaus.org/ViewIssue.jspa?key=MPCHANGELOG-34)
> > > 
> > > I'm afraid I'm overlooking something really simple, but I 
> > just don't see it.
> > > 
> > > Any help appreciated,
> > > 
> > > Mylène 
> > > 
> > > This e-mail and any attachment is for authorised use by the 
> > intended recipient(s) only. It may contain proprietary 
> > material, confidential information and/or be subject to legal 
> > privilege. It should not be copied, disclosed to, retained or 
> > used by, any other party. If you are not an intended 
> > recipient then please promptly delete this e-mail and any 
> > attachment and all copies and inform the sender. Thank you.
> > > 
> > > 
> > -
> > > 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: Changelog cvs problems

2004-04-22 Thread Arto Pastinen

Hi!

Did you miss Menetrieux's reply this today?
Here it is:

Why you do use : as separator ??
Why you don't use an other separator ? 
I'm under linux too and this works fine: 
You see that the ':' separator is use for separate username and passwd..

scm|cvs|pserver|username:[EMAIL PROTECTED]|repository|module

Actually i didn't test it, i added anonymous access to CVS, but try it,
i think that it can help.

On Thu, 2004-04-22 at 13:59, Mylene Reiners wrote:
> Hi,
> 
> I am desperately trying to get the Changelog to work, for 2 days now.
> 
> I'm running Windows 2000 SP4, CVSNT, CVS 1.11.15, Maven v. 1.0-rc2.
> 
> Conn. string:
> 
>  
> scm|cvs|pserver|[EMAIL PROTECTED]|C:/OSO/cvsrepo/test|
> Sample_project2
> 
> 
> Result:
> [echo] Generating the Change Log...
> maven-changelog-plugin:report:
> [echo] Generating the changelog report
> Didn't find password for CVSROOT
> ':pserver:[EMAIL PROTECTED]:C:/OSO/cvsrepo/test'.
> org.netbeans.lib.cvsclient.connection.AuthenticationException: Wrong
> Password.
> ChangeLog found: 0 entries
> 
> I tried first logging in to CVS, but that didn't help - also I tried both
> with the auto-generated .cvspass and with the "/1 " deleted (see 
> http://jira.codehaus.org/ViewIssue.jspa?key=MPCHANGELOG-34)
> 
> I'm afraid I'm overlooking something really simple, but I just don't see it.
> 
> Any help appreciated,
> 
> Mylène 
> 
> This e-mail and any attachment is for authorised use by the intended recipient(s) 
> only. It may contain proprietary material, confidential information and/or be 
> subject to legal privilege. It should not be copied, disclosed to, retained or used 
> by, any other party. If you are not an intended recipient then please promptly 
> delete this e-mail and any attachment and all copies and inform the sender. Thank 
> you.
> 
> -
> 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: Réf. : RE: changelog cvs access.

2004-04-21 Thread Arto Pastinen
Thnx, but i use linux, debian distribution, and cvs client is debian
official package, i think its stable. it stores passwords to
$HOME/.cvspass.

Following is one line from it.
/1 :pserver:[EMAIL PROTECTED]:2401/cvsroot/xdoclet A

On Wed, 2004-04-21 at 12:24, Jörg Schaible wrote:
> Arto Pastinen wrote on Wednesday, April 21, 2004 11:17 AM:
> 
> > I am already logged to cvs, and i can run native command
> > cvs -d :pserver:[EMAIL PROTECTED]:repository update
> > .. in current project, and it doesn't ask password.
> > But when i use maven without password, then i got following:
> > 
> > maven-changelog-plugin:report:
> > [echo] Generating the changelog report
> > Didn't find password for CVSROOT ':pserver:[EMAIL PROTECTED]:'.
> > org.netbeans.lib.cvsclient.connection.AuthenticationException:
> >  Wrong Password. ChangeLog found: 0 entries
> 
> I suppose you're using CVSNT to login. Unfortunately this application stores the 
> connection info in the WIndows registry, but Maven is looking in your Windows home 
> directory for a .cvspass file. You can create this file manually from the keys in 
> /HKCU/Software/cvsnt/cvspass, where every key represents a line in the .cvspass file:
> 
> /1  
> 
> BTW: The "/1" is a constant prepending each line that is automatically generated 
> from my cvs client ... other users reported, it works without or they have problems 
> with it. Additionally the value for anonymous access differs. In the .cvspass file 
> this is only "A" instead something like "Ay=0=h 
> Regards,
> Jörg
> 
> -
> 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: Réf. : RE: changelog cvs access.

2004-04-21 Thread Arto Pastinen
I am already logged to cvs, and i can run native command
cvs -d :pserver:[EMAIL PROTECTED]:repository update
.. in current project, and it doesn't ask password.
But when i use maven without password, then i got following:

maven-changelog-plugin:report:
[echo] Generating the changelog report
Didn't find password for CVSROOT ':pserver:[EMAIL PROTECTED]:'.
org.netbeans.lib.cvsclient.connection.AuthenticationException: Wrong
Password.
ChangeLog found: 0 entries


On Wed, 2004-04-21 at 12:04, [EMAIL PROTECTED] wrote:
> You don't need to have the password in the connection url :
> scm:cvs:pserver:[EMAIL PROTECTED]:repository:module
> 
> You can use an anonymous pserver acces with no password (and readonly 
> right) or you can use an account with password but in that case you must 
> do a cvs login before call the change log.
> 
> Nicolas,
> 
> 
> 
> 
> 
> Arto Pastinen <[EMAIL PROTECTED]>
> 21/04/2004 10:48
> Veuillez répondre à "Maven Users List"
> 
>  
> Pour :  Maven Users List <[EMAIL PROTECTED]>
> cc : 
> Objet : RE: changelog cvs access.
> 
> 
> I use this. (i change critical tokens.)
> scm:cvs:pserver:username:[EMAIL PROTECTED]:repository:module
> 
> My maven version is that RC2, and still got that BUILD FAILED.
> 
> 
> On Wed, 2004-04-21 at 11:36, Menetrieux Remy wrote:
> > The first separator after scm determine the separator to use for 
> determine
> > the tokens.
> > Eg : 
> > 
> scm|cvs|pserver|login:[EMAIL PROTECTED]|serveurroot|repository > ection>
> > Is equals to : 
> > 
> scm!cvs!pserver!login:[EMAIL PROTECTED] > ection>
> > If you use the : maven see 7 tokens.
> > 
> > 
> > -Message d'origine-
> > De : Arto Pastinen [mailto:[EMAIL PROTECTED] 
> > Envoyé : mercredi 21 avril 2004 10:23
> > À : Maven Users List
> > Objet : RE: changelog cvs access.
> > 
> > I use linux, and cannot use those bars.
> > I tested it just using password after loginname separeted by ":", but it
> > gives me.
> > 
> > BUILD FAILED
> > File..
> > file:/home/artsi/.maven/plugins/maven-changelog-plugin-1.4/plugin.jelly
> > Element... changelog:changelog
> > Line.. 82
> > Column 15
> > repository connection string contains more than six tokens
> > 
> > 
> > On Wed, 2004-04-21 at 11:09, Menetrieux Remy wrote:
> > > You can add this In you're project.xml file
> > > 
> > > scm|cvs|pserver|login:[EMAIL PROTECTED]|serveurroot|repository
> > > 
> > > 
> > >   
> > > 
> > > -Message d'origine-
> > > De : Arto Pastinen [mailto:[EMAIL PROTECTED] 
> > > Envoyé : mercredi 21 avril 2004 10:05
> > > À : [EMAIL PROTECTED]
> > > Objet : changelog cvs access.
> > > 
> > > Hi!
> > > 
> > > I try to use changelog to generate changelog. =)
> > > But how to define password if i use pserver method?
> > > 
> > > Artsi
> > > 
> > > 
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > 
> > > The information transmitted is intended only for the person or entity 
> to
> > > which it is addressed and may contain confidential and/or privileged
> > > material. Any review, retransmission, dissemination or other use of, 
> or
> > > taking of any action in reliance upon, this information by persons or
> > > entities other than the intended recipient is prohibited and may be a
> > > violation of law. If you received this transmission in error, please
> > contact
> > > the sender by reply e-mail and delete and destroy all copies of the
> > > material, including all copies stored in the recipient's computer, 
> printed
> > > or saved to disk. Thank you.
> > > Software virus: Europcar has taken precautions to minimize the risk of
> > > transmitting software viruses, but we advise you to carry out your own
> > virus
> > > checks on any attachment to this message. Europcar cannot accept 
> liability
> > > for any loss or damage caused by software viruses.
> > > Intellectual Property: Europcar has built up a significant reputation 
> in
> > the
> > > name "Europcar" and has a number of trademark applications and
> > registrations
> > > in many countries. No trademarks, service marks, and trade names 

RE: changelog cvs access.

2004-04-21 Thread Arto Pastinen
I use this. (i change critical tokens.)
scm:cvs:pserver:username:[EMAIL PROTECTED]:repository:module

My maven version is that RC2, and still got that BUILD FAILED.


On Wed, 2004-04-21 at 11:36, Menetrieux Remy wrote:
> The first separator after scm determine the separator to use for determine
> the tokens.
> Eg : 
> scm|cvs|pserver|login:[EMAIL PROTECTED]|serveurroot|repository ection>
> Is equals to : 
> scm!cvs!pserver!login:[EMAIL PROTECTED] ection>
> If you use the : maven see 7 tokens.
> 
>  
> -----Message d'origine-
> De : Arto Pastinen [mailto:[EMAIL PROTECTED] 
> Envoyé : mercredi 21 avril 2004 10:23
> À : Maven Users List
> Objet : RE: changelog cvs access.
> 
> I use linux, and cannot use those bars.
> I tested it just using password after loginname separeted by ":", but it
> gives me.
> 
> BUILD FAILED
> File..
> file:/home/artsi/.maven/plugins/maven-changelog-plugin-1.4/plugin.jelly
> Element... changelog:changelog
> Line.. 82
> Column 15
> repository connection string contains more than six tokens
> 
> 
> On Wed, 2004-04-21 at 11:09, Menetrieux Remy wrote:
> > You can add this In you're project.xml file
> > 
> > scm|cvs|pserver|login:[EMAIL PROTECTED]|serveurroot|repository
> > 
> > 
> >   
> > 
> > -Message d'origine-
> > De : Arto Pastinen [mailto:[EMAIL PROTECTED] 
> > Envoyé : mercredi 21 avril 2004 10:05
> > À : [EMAIL PROTECTED]
> > Objet : changelog cvs access.
> > 
> > Hi!
> > 
> > I try to use changelog to generate changelog. =)
> > But how to define password if i use pserver method?
> > 
> > Artsi
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > The information transmitted is intended only for the person or entity to
> > which it is addressed and may contain confidential and/or privileged
> > material. Any review, retransmission, dissemination or other use of, or
> > taking of any action in reliance upon, this information by persons or
> > entities other than the intended recipient is prohibited and may be a
> > violation of law. If you received this transmission in error, please
> contact
> > the sender by reply e-mail and delete and destroy all copies of the
> > material, including all copies stored in the recipient's computer, printed
> > or saved to disk. Thank you.
> > Software virus: Europcar has taken precautions to minimize the risk of
> > transmitting software viruses, but we advise you to carry out your own
> virus
> > checks on any attachment to this message. Europcar cannot accept liability
> > for any loss or damage caused by software viruses.
> > Intellectual Property: Europcar has built up a significant reputation in
> the
> > name "Europcar" and has a number of trademark applications and
> registrations
> > in many countries. No trademarks, service marks, and trade names owned or
> > licensed by Europcar or its affiliates may be copied, reproduced,
> > republished, uploaded, posted, transmitted, or distributed in any way,
> > without the prior written consent of Europcar.
> > 
> > 
> > -
> > 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]
> 
> The information transmitted is intended only for the person or entity to
> which it is addressed and may contain confidential and/or privileged
> material. Any review, retransmission, dissemination or other use of, or
> taking of any action in reliance upon, this information by persons or
> entities other than the intended recipient is prohibited and may be a
> violation of law. If you received this transmission in error, please contact
> the sender by reply e-mail and delete and destroy all copies of the
> material, including all copies stored in the recipient's computer, printed
> or saved to disk. Thank you.
> Software virus: Europcar has taken precautions to minimize the risk of
> transmitting software viruses, but we advise you to carry out your own virus
> checks on any attachment to this message. Europcar cannot accept liability
> for any loss or damage caused by software viruses.
> Intellectual Property: Europcar has built up a significant reputati

RE: changelog cvs access.

2004-04-21 Thread Arto Pastinen
I use linux, and cannot use those bars.
I tested it just using password after loginname separeted by ":", but it
gives me.

BUILD FAILED
File..
file:/home/artsi/.maven/plugins/maven-changelog-plugin-1.4/plugin.jelly
Element... changelog:changelog
Line.. 82
Column 15
repository connection string contains more than six tokens


On Wed, 2004-04-21 at 11:09, Menetrieux Remy wrote:
> You can add this In you're project.xml file
> 
> scm|cvs|pserver|login:[EMAIL PROTECTED]|serveurroot|repository
> 
> 
>   
> 
> -Message d'origine-
> De : Arto Pastinen [mailto:[EMAIL PROTECTED] 
> Envoyé : mercredi 21 avril 2004 10:05
> À : [EMAIL PROTECTED]
> Objet : changelog cvs access.
> 
> Hi!
> 
> I try to use changelog to generate changelog. =)
> But how to define password if i use pserver method?
> 
> Artsi
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> The information transmitted is intended only for the person or entity to
> which it is addressed and may contain confidential and/or privileged
> material. Any review, retransmission, dissemination or other use of, or
> taking of any action in reliance upon, this information by persons or
> entities other than the intended recipient is prohibited and may be a
> violation of law. If you received this transmission in error, please contact
> the sender by reply e-mail and delete and destroy all copies of the
> material, including all copies stored in the recipient's computer, printed
> or saved to disk. Thank you.
> Software virus: Europcar has taken precautions to minimize the risk of
> transmitting software viruses, but we advise you to carry out your own virus
> checks on any attachment to this message. Europcar cannot accept liability
> for any loss or damage caused by software viruses.
> Intellectual Property: Europcar has built up a significant reputation in the
> name "Europcar" and has a number of trademark applications and registrations
> in many countries. No trademarks, service marks, and trade names owned or
> licensed by Europcar or its affiliates may be copied, reproduced,
> republished, uploaded, posted, transmitted, or distributed in any way,
> without the prior written consent of Europcar.
> 
> 
> -
> 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]



changelog cvs access.

2004-04-21 Thread Arto Pastinen
Hi!

I try to use changelog to generate changelog. =)
But how to define password if i use pserver method?

Artsi


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



Re: xdoclet

2004-04-16 Thread Arto Pastinen
Hi!

Yes that was what i mean.
Your solution was correct, and actually i tested it, but couldn't get it
work, my ...0.Version was with lowercase..
Thnx!

Artsi

On Fri, 2004-04-16 at 13:56, Konstantin Priblouda wrote:
> --- Arto Pastinen <[EMAIL PROTECTED]> wrote:
> > Hi!
> > 
> > Is it possible to change xdoclet's hibernatedoclet's
> > generated *.hbm.xml
> > files version?
> 
> what do you mean by "change generated version? "
> 
> If you mean that hbm.xml shall be for hibernate 2.x 
> then the answer is "yes":
> 
> maven.xdoclet.hibernatedoclet.hibernate.0.Version=2.0
> 
> in your project.properties does the trick
> 
> regards,
> 
> =
> [ Konstantin Pribluda ( ko5tik ) ]
> Zu Verstrkung meines Teams suche ich ab Sofort einen
> Softwareentwickler[In] fr die Festanstellung. 
> Arbeitsort: Mainz 
> Skills:  Programieren, Kentnisse in OpenSource-Bereich
> [ http://www.pribluda.de ]
> 
> 
>   
>   
> __
> Do you Yahoo!?
> Yahoo! Tax Center - File online by April 15th
> http://taxes.yahoo.com/filing.html
> 
> -
> 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]



xdoclet

2004-04-16 Thread Arto Pastinen
Hi!

Is it possible to change xdoclet's hibernatedoclet's generated *.hbm.xml
files version?

Artsi


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



RE: Maven and JBoss

2004-04-06 Thread Arto Pastinen
Hi Vincent!

Have you created plugin?
I tried to use it some times ago, and i got java.io.IOException when i
tried to use jboss:deploy, does it work?

Artsi

On Tue, 2004-04-06 at 13:55, Vincent Massol wrote:
> Hi Massimiliano,
> 
> That's exactly what the JBoss plugin does! I've created it for exactly
> this purpose. 
> 
> -Vincent
> 
> > -Original Message-
> > From: Amato Massimiliano (TLAB)
> > [mailto:[EMAIL PROTECTED]
> > Sent: 06 April 2004 10:02
> > To: Maven Users List
> > Subject: Maven and JBoss
> > 
> > Hello,
> > 
> > I am migrating allo our existing projects into Maven, but now i have a
> > problem.
> > 
> > We had a big J2EE project that used to be managed with ant, and we had
> a
> > target that managed to configure Jboss with all the needed libs and
> > configuration files needed by the AppServer. Now that i've switched to
> > maven i have the ear built and ready to be deployed, but i wanted to
> make
> > it easier for us to give the administrator a zip file containing all
> the
> > ears and files needed to be deployed under jboss
> > 
> > I saw there's a Jboss plugin but i am not sure it can handle all we
> > want... anyone one else had the same problem? How did you solve it?
> > 
> > Thanks a ton
> > Massimiliano
> > 
> > 
> > -
> > 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: where to find reference for build.properties ?

2004-04-05 Thread Arto Pastinen
Hi!

Do you mean project.properties??
I don't think that there is complete reference..
Everybody can make new plugin to maven, and it would be quite hard to
maintain that kind reference.
Try googlen like "maven site plugin properties".

Artsi

On Mon, 2004-04-05 at 12:34, Marc Lustig wrote:
> Hi, I browsed the Maven Homepage but couldn't find a doc with complete
> reference for build.properties.
> 
> Where can I find it? 
> 
> Regards
> 
> Marc
> 


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



Re: Réf. : elementary problem with dependency.

2004-04-02 Thread Arto Pastinen
I think that id is currently history.


On Fri, 2004-04-02 at 12:49, [EMAIL PROTECTED] wrote:
> Hi
> 
> Shouldn't the module-ejb be a module-ejb
> ?
> 
> I think when it's an  the type is ignored and supposed to be jar.
> 
> Julien
> 
> 
> 
> Extranet
> [EMAIL PROTECTED] - 02/04/2004 11:10
> 
> 
> Veuillez répondre à [EMAIL PROTECTED]
> 
> Pour : users
> 
> cc :
> 
> 
> Objet : elementary problem with dependency.
> 
> 
> Hi all,
> 
> My web module depends on ejb module so in project.xml I place:
> 
>   project-name
>   module-ejb
>   1.0
>   ejb
> 
> I've installed module-ejb in local repository
> ($HOME\.maven\repository\project-name\ejbs\module-ejb-1.0.jar) but when
> I try to build web module get:
> module-ejb-1.0.jar (no download url specified)
> What should I don't to make my project working?
> What is the meaning of ... inside dependency element?
> 
> Thanks for help,
> Marcin
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> This message and any attachments (the "message") is
> intended solely for the addressees and is confidential. 
> If you receive this message in error, please delete it and 
> immediately notify the sender. Any use not in accord with 
> its purpose, any dissemination or disclosure, either whole 
> or partial, is prohibited except formal approval. The internet
> can not guarantee the integrity of this message. 
> BNP PARIBAS (and its subsidiaries) shall (will) not 
> therefore be liable for the message if modified. 
> 
> -
> 
> Ce message et toutes les pieces jointes (ci-apres le 
> "message") sont etablis a l'intention exclusive de ses 
> destinataires et sont confidentiels. Si vous recevez ce 
> message par erreur, merci de le detruire et d'en avertir 
> immediatement l'expediteur. Toute utilisation de ce 
> message non conforme a sa destination, toute diffusion 
> ou toute publication, totale ou partielle, est interdite, sauf 
> autorisation expresse. L'internet ne permettant pas 
> d'assurer l'integrite de ce message, BNP PARIBAS (et ses
> filiales) decline(nt) toute responsabilite au titre de ce 
> message, dans l'hypothese ou il aurait ete modifie.
> 
> 
> -
> 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: like ant unless

2004-04-01 Thread Arto Pastinen
All ant tags work also in maven.
Look plugins jelly files in maven/plugins/...
Following is from clean plugin:




  

  


  
  



On Thu, 2004-04-01 at 14:51, Marcin Gurbisz wrote:
> Hi
> 
> Have maven something like conditional goal execution? Like "unless" in 
> ant target.
> 
> Regards,
> Marcin
> 
> -
> 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]



jboss plugin

2004-04-01 Thread Arto Pastinen
Hi!

Has anyone ever used that jboss plugin?
I tries to use that jboss:deploy-ejb, but i get just:
[get] Error opening connection java.io.IOException
[get] Error opening connection java.io.IOException
[get] Error opening connection java.io.IOException

I tried that deploy url from command line, and it works, and i modify
plugin.jelly to try to get http://www.google.fi, and even it works..

Artsi


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



RE: NoClassDefFoundError for org/jaxen/JaxenException andorg/saxpath/SAXPathException

2004-03-31 Thread Arto Pastinen
Ok. Could you send full stack trace, which appears when you don't use
those dependencies.

On Wed, 2004-03-31 at 14:07, KRÁLIK Vladimír wrote:
> > -Original Message-
> > From: Arto Pastinen [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 31, 2004 11:13 AM
> ...
> > I think that you must at least jaxen to your project.xml. I don't know
> > that saxpath.
> > If your plugin doesn't need those, it is still possible, that 
> > some other
> > element in your plugin needs those. Like jelly, or and, or something
> > else.
> Please, look at the example HelloWorld below. 
> There are only , no java src.
> Why are needed dependencies to jaxen and saxpath ?
> 
> I tryed to add dependencies to HelloWorld plugin : ( both are needed )
>   
> 
>   jaxen
>   jaxen-core
>   1.0-FCS
> 
> 
>   saxpath
>   saxpath
>   1.0-FCS
> 
>   
> and then all work's fine. But I've question :
> All plugins must have dependecies to jaxen and saxpath ?
> I looked for some and they haven't that dependecies :-(.
> 
> for example : 
> http://maven.apache.org/reference/plugins/jar/dependencies.html
> http://maven.apache.org/reference/plugins/test/dependencies.html
> http://maven.apache.org/reference/plugins/clean/dependencies.html
> 
> 
> > 
> > On Wed, 2004-03-31 at 12:01, KRÁLIK Vladimír wrote:
> > > > -Original Message-
> > > > From: Brett Porter [mailto:[EMAIL PROTECTED]
> > > > Sent: Wednesday, March 31, 2004 1:47 AM
> > > ...
> > > > Are jaxen and saxpath listed as dependencies in your 
> > > > project.xml?
> > > No, they aren't. I don't need that jars in my plugin.
> > > I reproduced this bug wih simple HelloWorld plugin without 
> > any dependencies.
> > > 
> > > > Can you send that section to the list if so?
> > > All three files from HelloWorld-plugin are below.
> > > 
> > > ===
> > > project.xml
> > > ===
> > > 
> > > 
> > >   3
> > >   maven-hello-plugin
> > >   Maven Hello World Plug-in
> > >   1.0.0-SNAPSHOT
> > >   
> > >   
> > > 
> > >   
> > > ${basedir}
> > > 
> > >   plugin.jelly
> > >   plugin.properties
> > >   project.xml
> > > 
> > >   
> > > 
> > >   
> > > 
> > > ===
> > > plugin.jelly
> > > ===
> > > 
> > > 
> > > 
> > > Hello, ${maven.hello.world}
> > > 
> > > 
> > > ===
> > > plugin.properties
> > > ===
> > > maven.hello.world=World
> > > 
> > > 
> > > > 
> > > > Thanks,
> > > > Brett
> > > > 
> > > > > -Original Message-
> > > > > From: KRÁLIK Vladimír [mailto:[EMAIL PROTECTED] 
> > > > > Sent: Wednesday, 31 March 2004 2:59 AM
> > > > > To: Maven Users MailingList (E-mail)
> > > > > Subject: NoClassDefFoundError for org/jaxen/JaxenException 
> > > > > and org/saxpath/SAXPathException
> > > > > 
> > > > > 
> > > > > Hello all, 
> > > > > 
> > > > >   i've problem with instalation of maven-1.0-rc2.
> > > > > I've installed maven into new directory structures ( empty 
> > > > > ${maven.home.local} ). Environment :
> > > > >   maven-1.0-rc2
> > > > >   jdk 1.4.2_03
> > > > >   M$ Windows 2000 SP 4
> > > > >   cygwin
> > > > > 
> > > > > When I try install my own plugin ( by using "maven 
> > > > > plugin:install" ),then I get : <> Caused by: 
> > > > > java.lang.NoClassDefFoundError: org/jaxen/JaxenException
> > > > > at java.lang.Class.forName0(Native Method)
> > > > > at java.lang.Class.forName(Class.java:141)
> > > > > at 
> > > > > org.apache.commons.jelly.tags.xml.XMLTagLibrary.class$(XMLTagL
> > > > > ibrary.java:82)
> > > > > <>
> > > > > 
> > > > > after "cp jaxen-core-1.0-FCS.jar $MAVEN_HOME/lib" :
> > > > > 
> >

RE: NoClassDefFoundError for org/jaxen/JaxenException and org/saxpath/SAXPathException

2004-03-31 Thread Arto Pastinen
Hi

I think that you must at least jaxen to your project.xml. I don't know
that saxpath.
If your plugin doesn't need those, it is still possible, that some other
element in your plugin needs those. Like jelly, or and, or something
else.

On Wed, 2004-03-31 at 12:01, KRÁLIK Vladimír wrote:
> > -Original Message-
> > From: Brett Porter [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 31, 2004 1:47 AM
> ...
> > Are jaxen and saxpath listed as dependencies in your 
> > project.xml?
> No, they aren't. I don't need that jars in my plugin.
> I reproduced this bug wih simple HelloWorld plugin without any dependencies.
> 
> > Can you send that section to the list if so?
> All three files from HelloWorld-plugin are below.
> 
> ===
> project.xml
> ===
> 
> 
>   3
>   maven-hello-plugin
>   Maven Hello World Plug-in
>   1.0.0-SNAPSHOT
>   
>   
> 
>   
> ${basedir}
> 
>   plugin.jelly
>   plugin.properties
>   project.xml
> 
>   
> 
>   
> 
> ===
> plugin.jelly
> ===
> 
> 
> 
> Hello, ${maven.hello.world}
> 
> 
> ===
> plugin.properties
> ===
> maven.hello.world=World
> 
> 
> > 
> > Thanks,
> > Brett
> > 
> > > -Original Message-
> > > From: KRÁLIK Vladimír [mailto:[EMAIL PROTECTED] 
> > > Sent: Wednesday, 31 March 2004 2:59 AM
> > > To: Maven Users MailingList (E-mail)
> > > Subject: NoClassDefFoundError for org/jaxen/JaxenException 
> > > and org/saxpath/SAXPathException
> > > 
> > > 
> > > Hello all, 
> > > 
> > >   i've problem with instalation of maven-1.0-rc2.
> > > I've installed maven into new directory structures ( empty 
> > > ${maven.home.local} ). Environment :
> > >   maven-1.0-rc2
> > >   jdk 1.4.2_03
> > >   M$ Windows 2000 SP 4
> > >   cygwin
> > > 
> > > When I try install my own plugin ( by using "maven 
> > > plugin:install" ),then I get : <> Caused by: 
> > > java.lang.NoClassDefFoundError: org/jaxen/JaxenException
> > > at java.lang.Class.forName0(Native Method)
> > > at java.lang.Class.forName(Class.java:141)
> > > at 
> > > org.apache.commons.jelly.tags.xml.XMLTagLibrary.class$(XMLTagL
> > > ibrary.java:82)
> > > <>
> > > 
> > > after "cp jaxen-core-1.0-FCS.jar $MAVEN_HOME/lib" :
> > > 
> > > <>
> > > Caused by: java.lang.NoClassDefFoundError: 
> > > org/saxpath/SAXPathException
> > >   <>>
> > > at 
> > > org.apache.commons.jelly.tags.xml.XMLTagLibrary.class$(XMLTagL
> > > ibrary.java:82)
> > > <>
> > > 
> > > after "cp saxpath-1.0-FCS.jar $MAVEN_HOME/lib"
> > > 
> > > it works fine.
> > > 
> > > Is this bug ?
> > > Should be saxpath.jar and jaxen.jar in maven distribution ?
> > > 
> > >   thank's for answers.
> > > 
> > >   vlk
> > > 
> > > 
> > > Vladimir Kralik
> > > ASSET Soft a.s.
> > > Banska Bystrica
> > > 
> > > 
> > -
> > > 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: Share WebSphere build techniques

2004-03-23 Thread Arto Pastinen
Hi!

Google did it again.
http://maven-plugins.sourceforge.net/maven-was40-plugin/

Artsi

On Tue, 2004-03-23 at 13:21, Veerasamy, Thirumalai (Cognizant) wrote:
> If anybody has developed build scripts for WebSphere Applicaion Server
> (EJB Layer, Presentation Layer, packaging, deploying, ...) please share
> the scripts or techniques.
> 
> Regards,
> Thiru
> 
> 
> __
> -
> 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: deliverables and their configuration (1)

2004-03-23 Thread Arto Pastinen
Hi!

I put it jar's root, and in war, /WEB-INF/classes

Artsi


On Tue, 2004-03-23 at 12:35, Wim Lambrecht wrote:
> Hi there,
>  
> (I'm a Maven newbie, a few weeks now, so go easy on me :-) )
> I have a question concerning deliverables & configuration. In a project
> (project.xml) deliverables are referenced by de  tag. But
> still there's the issue of configuration. For example: you have a
> dependency for Log4j, but what about the property settings
> (log4j.properties), which is wish to configure for myapp at runtime. How
> does Maven handle that ? (e.g. where do i have to put my .properties and
> stuff ... in my jar, war, ... ?).
> -wil-


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



RE: Maven war plugin

2004-03-17 Thread Arto Pastinen
try
maven.war.src.excludes=**/static/*

But now i will go to home, SeeU!!

On Wed, 2004-03-17 at 16:09, Nicolas Cazottes wrote:
> Here is my configuration in details :
> build.properties:
> maven.war.src=web
> maven.war.src.excludes=${maven.war.src}/static
> (I tried also maven.war.src.excludes=static or
> maven.war.src.excludes=/static)
> 
> maven.xml:
>default="full-build"
>   xmlns:m="maven"
>   xmlns:j="jelly:core"
>   xmlns:u="jelly:util">
> 
>   
> 
>   
> 
> 
> my project directory structure:
> projectRoot / src java classes
>   / web / WEB-INF descriptors
>   / staticstatic content
>   /   jsps
> 
> Nicolas
> 
> -Message d'origine-
> De : Arto Pastinen [mailto:[EMAIL PROTECTED]
> Envoyé : mercredi 17 mars 2004 14:45
> À : Maven Users List
> Objet : RE: Maven war plugin
> 
> 
> Could you send what kind values you have used?
> 
> On Wed, 2004-03-17 at 15:37, Nicolas Cazottes wrote:
> > Actually, I want, in my war, to exclude all files that are for Images,
> > Javascript or purely static Html content. All that files are in a
> dedicated
> > directory under the web one (which is the root of my web app that I
> > configure as maven.war.src).
> > Whatever the value I give to maven.war.src.excludes relative or not to the
> > maven.war.src configuration key, I am not able to exclude any file from
> the
> > generated packaged war.
> >
> > Nicolas
> >
> >
> > -Message d'origine-
> > De : Maczka Michal [mailto:[EMAIL PROTECTED]
> > Envoyé : mercredi 17 mars 2004 12:17
> > À : 'Maven Users List'
> > Objet : RE: Maven war plugin
> >
> >
> > What do you want to exclude: java classes or "web resources"?
> >
> > "war" plugin uses "java" plugin for compilation of java sources and for
> > exlusion of java classes you can use properties of that plugin.
> >
> > Michal
> >
> > > -Original Message-
> > > From: Nicolas Cazottes [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, March 17, 2004 12:14 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Maven war plugin
> > >
> > >
> > > Hello,
> > >
> > > Currently working on a project with maven, I needed to use the war
> > > plugin with the ${maven.war.src.excludes} property in order to build a
> > > packaged Web App. After a while without success, I checked
> > > the source code
> > > of the
> > > war jelly tag and found that the option I wanted to use is
> > > not used (or
> > > implemented ?) in the plugin war:war goal.
> > > Is there a reason that I am missing for this behaviour ?
> > >
> > > Thanks,
> > >
> > > Nicolas Cazottes
> > >
> > >
> > > -
> > > 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]
> 
> 
> 
> -
> 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: Information about the methods available on POM

2004-03-17 Thread Arto Pastinen
Hi

I'm not sure, but those look like velocity stuff.

anyway:
pom.inceptionYear, and pom.build.resource is from project.xml

x







On Wed, 2004-03-17 at 16:02, Vijay V wrote:
> Hi
> 
> I am a new user trying to get my hands with maven.
> 
> I would like to know the list of all methods that are available on the pom.
> 
> I see few functions like -
> "${pom.inceptionYear.equals("currentYear")}
> "${pom.build.resources.isEmpty()}"
> "${pom.getDependencyPath('aritifact')}"
> 
> There should be lot of functions available and should be based on some 
> api which exists.
> Can any one kindly point as to where this documentation exists or what 
> is the basis of invoking different functions or what is
> the basic concept on which it is build.
> 
> Any pointer will be highly appreciated.
> 
> Thanks,
> Vijay V
> 
> 
> 
> 
> -
> 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: Rebuild

2004-03-17 Thread Arto Pastinen
Yes i think that maven will compile files always. About that class file
is newer that java file, do you mean timestamp in filesystem? i don't
think that it would tell nothing about that is source modified..
And of course you can define always other compiler, that default javac.
There is some property where you can define compiler to other, like
jikes.

Artsi

On Wed, 2004-03-17 at 16:05, Daniel Frey wrote:
> Hi,
> 
> I have the impression that i.e.
> 
> - a java file is compiled although the corresponging class files is newer
> than the java file.
> 
> Usually in build processes, i.e. a compilation takes only place if there are
> not classes or the classes are outdated. In maven, I have the impression
> that it compiles always.
> 
> Daniel
> 
> -Ursprüngliche Nachricht-
> Von: Arto Pastinen [mailto:[EMAIL PROTECTED] 
> Gesendet: Mittwoch, 17. März 2004 15:03
> An: Maven Users List
> Betreff: Re: Rebuild
> 
> Hi!
> 
> Sorry my bad english, but what do you actually means with that rebuild??
> 
> Artsi
> 
> On Wed, 2004-03-17 at 12:10, Daniel Frey wrote:
> > Hi there,
> > 
> > I am using maven for the first time. I think it's great, just what (I
> > assume) everyone would build on its own when doing big projects.
> > 
> > After using it now for one week, I've got the impression that the maven
> > scripts do a rebuild anyway, ignoring what really has to be rebuild and
> what
> > not. Is this correct?
> > 
> > Thanks
> > Daniel Frey
> > http://www.xmatrix.ch
> > 
> > 
> > -
> > 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: Rebuild

2004-03-17 Thread Arto Pastinen
Hi!

Sorry my bad english, but what do you actually means with that rebuild??

Artsi

On Wed, 2004-03-17 at 12:10, Daniel Frey wrote:
> Hi there,
> 
> I am using maven for the first time. I think it's great, just what (I
> assume) everyone would build on its own when doing big projects.
> 
> After using it now for one week, I've got the impression that the maven
> scripts do a rebuild anyway, ignoring what really has to be rebuild and what
> not. Is this correct?
> 
> Thanks
> Daniel Frey
> http://www.xmatrix.ch
> 
> 
> -
> 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: simian report generation error

2004-03-17 Thread Arto Pastinen
Hi

I don't know is there any option in java command (like java -Dmx=),
if there is, then maby you can test it in maven command, "maven -D".
Otherwise, command maven, is script. linux shell, or dos whateveritis...
you can edit it.

Artsi

On Wed, 2004-03-17 at 15:53, ZHU Beiting wrote:
> Hi,
> 
> Actually, I found a note in the web about this error. It said for most
> projects (including the nearly 400,000 LOC JDK 1.4 source base), the default
> VM size seems to be adequate. So if you encounter: 
> 
> Exception in thread "main" java.lang.OutOfMemoryError
> 
> you will need to increase the VM heap size using the -mx JVM option.
> 
> Very clear. But I do not know how to and where to add this option. In the
> project.properties or in the plugin.jelly file of simain-plugin? 
> 
> Is there anyone here has an idea about that?
> 
> Thanks,
> Beiting ZHU.
> 
> 
> -Message d'origine-
> De : ZHU Beiting [mailto:[EMAIL PROTECTED]
> Envoyé : mercredi 17 mars 2004 11:22
> À : 'Maven Users List'
> Objet : simian report generation error
> 
> 
> Hello,
> 
> I am trying to generate the simian report for my project. I use
> maven-simiam-plugin-1.2, and I always got an out of memory error like:
> 
> BUILD FAILED
> File.. file:/D:/Documents and
> Settings/zhub/.maven/plugins/maven-simian-plug
> in-1.2/
> Element... ant:simian
> Line.. 52
> Column 71
> java.lang.OutOfMemoryError
> Total time: 37 minutes 54 seconds
> 
> I wonder is there any maven properties can make me avoid this error?
> 
> Thanks,
> Beiting.
> 
> -
> 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: Maven war plugin

2004-03-17 Thread Arto Pastinen
Could you send what kind values you have used?

On Wed, 2004-03-17 at 15:37, Nicolas Cazottes wrote:
> Actually, I want, in my war, to exclude all files that are for Images,
> Javascript or purely static Html content. All that files are in a dedicated
> directory under the web one (which is the root of my web app that I
> configure as maven.war.src).
> Whatever the value I give to maven.war.src.excludes relative or not to the
> maven.war.src configuration key, I am not able to exclude any file from the
> generated packaged war.
> 
> Nicolas
> 
> 
> -Message d'origine-
> De : Maczka Michal [mailto:[EMAIL PROTECTED]
> Envoyé : mercredi 17 mars 2004 12:17
> À : 'Maven Users List'
> Objet : RE: Maven war plugin
> 
> 
> What do you want to exclude: java classes or "web resources"?
> 
> "war" plugin uses "java" plugin for compilation of java sources and for
> exlusion of java classes you can use properties of that plugin.
> 
> Michal
> 
> > -Original Message-
> > From: Nicolas Cazottes [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 17, 2004 12:14 PM
> > To: [EMAIL PROTECTED]
> > Subject: Maven war plugin
> >
> >
> > Hello,
> >
> > Currently working on a project with maven, I needed to use the war
> > plugin with the ${maven.war.src.excludes} property in order to build a
> > packaged Web App. After a while without success, I checked
> > the source code
> > of the
> > war jelly tag and found that the option I wanted to use is
> > not used (or
> > implemented ?) in the plugin war:war goal.
> > Is there a reason that I am missing for this behaviour ?
> >
> > Thanks,
> >
> > Nicolas Cazottes
> >
> >
> > -
> > 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: Maven war plugin

2004-03-17 Thread Arto Pastinen
Hi

callin plugin with "maven war" calls war:war.

see line in plugin:
  

Artsi


On Wed, 2004-03-17 at 13:14, Nicolas Cazottes wrote:
> Hello,
> 
> Currently working on a project with maven, I needed to use the war
> plugin with the ${maven.war.src.excludes} property in order to build a
> packaged Web App. After a while without success, I checked the source code
> of the
> war jelly tag and found that the option I wanted to use is not used (or
> implemented ?) in the plugin war:war goal.
> Is there a reason that I am missing for this behaviour ?
> 
> Thanks,
> 
> Nicolas Cazottes
> 
> 
> -
> 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: xref could not be generated

2004-03-16 Thread Arto Pastinen
Ok. Same as mine. How you using maven to generate web site? i use just
"maven site".

On Tue, 2004-03-16 at 16:08, ZHU Beiting wrote:
> I am currently working with version 1.0-rc1-SNAPSHOT
> 
> -Message d'origine-----
> De : Arto Pastinen [mailto:[EMAIL PROTECTED]
> Envoyé : mardi 16 mars 2004 15:10
> À : Maven Users List
> Objet : RE: xref could not be generated
> 
> 
> Well it works fine with me, which version you use? I remember that i did
> have same kinds problems with old versions.
> 
> On Tue, 2004-03-16 at 16:00, ZHU Beiting wrote:
> > Actually, when I browse in the checkstyle report, in selecting a file, I
> can
> > get an error report concerning just this file. This report tells me in
> which
> > line, which kind of error is occured. Normally by clicking on the line
> > number, I should have the html page of this source file which is placed
> > under the repository \xref\org\... I think this is generated automatically
> > by xdoc plugin. But in my case, the reference of the source file is
> broken,
> > because there is no \xref repository generated.
> > 
> > Best,
> > Beiting.
> > 
> > 
> > -Message d'origine-
> > De : Arto Pastinen [mailto:[EMAIL PROTECTED]
> > Envoyé : mardi 16 mars 2004 14:56
> > À : Maven Users List
> > Objet : Re: xref could not be generated
> > 
> > 
> > Do you mean, that in JavaApi links must work?
> > 
> > On Tue, 2004-03-16 at 15:42, ZHU Beiting wrote:
> > > Hello,
> > > 
> > > I am using maven to generate the web site for my project. For this, I
> > > generated the checkstyle report. But there is no cross-referenced
> sourced
> > > html page generated, even no /xref repository.
> > > I verified the xdoc version, and the navigation.jelly file in checkstyle
> > > plugin. I could not find the reason for this problem.
> > > 
> > > Is there any one also encountered this pb. ?
> > > 
> > > Thanks,
> > > Beiting.
> > > 
> > > -
> > > 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]
> 
> -
> 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: Calling default goal in reactor

2004-03-16 Thread Arto Pastinen
Hi

Define maven.multiproject.type to your subproject project.properties.

see:
http://maven.apache.org/reference/plugins/multiproject/properties.html

Artsi

On Tue, 2004-03-16 at 16:01, Jörn Gebhardt wrote:
> Hi,
> 
> is there any offical way to call the default goal defined in the maven.xml
> files in the subprojects when using the reactor?
> 
> This workaround is functioning
> 
>  basedir="${basedir}"
> includes="*/project.xml"
> goals=""
> banner="Building Subprojects"
> ignoreFailures="false"
> postProcessing="false"/>
> 
> as long as it ist not used in another multiproject context.
> 
> Thanks in advance,
> Joern


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



RE: xref could not be generated

2004-03-16 Thread Arto Pastinen
Well it works fine with me, which version you use? I remember that i did
have same kinds problems with old versions.

On Tue, 2004-03-16 at 16:00, ZHU Beiting wrote:
> Actually, when I browse in the checkstyle report, in selecting a file, I can
> get an error report concerning just this file. This report tells me in which
> line, which kind of error is occured. Normally by clicking on the line
> number, I should have the html page of this source file which is placed
> under the repository \xref\org\... I think this is generated automatically
> by xdoc plugin. But in my case, the reference of the source file is broken,
> because there is no \xref repository generated.
> 
> Best,
> Beiting.
> 
> 
> -Message d'origine-
> De : Arto Pastinen [mailto:[EMAIL PROTECTED]
> Envoyé : mardi 16 mars 2004 14:56
> À : Maven Users List
> Objet : Re: xref could not be generated
> 
> 
> Do you mean, that in JavaApi links must work?
> 
> On Tue, 2004-03-16 at 15:42, ZHU Beiting wrote:
> > Hello,
> > 
> > I am using maven to generate the web site for my project. For this, I
> > generated the checkstyle report. But there is no cross-referenced sourced
> > html page generated, even no /xref repository.
> > I verified the xdoc version, and the navigation.jelly file in checkstyle
> > plugin. I could not find the reason for this problem.
> > 
> > Is there any one also encountered this pb. ?
> > 
> > Thanks,
> > Beiting.
> > 
> > -
> > 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: xref could not be generated

2004-03-16 Thread Arto Pastinen
Do you mean, that in JavaApi links must work?

On Tue, 2004-03-16 at 15:42, ZHU Beiting wrote:
> Hello,
> 
> I am using maven to generate the web site for my project. For this, I
> generated the checkstyle report. But there is no cross-referenced sourced
> html page generated, even no /xref repository.
> I verified the xdoc version, and the navigation.jelly file in checkstyle
> plugin. I could not find the reason for this problem.
> 
> Is there any one also encountered this pb. ?
> 
> Thanks,
> Beiting.
> 
> -
> 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: / /OREF:CPTF2648 Re: commons-digester issue in my JUnit test

2004-03-16 Thread Arto Pastinen
Do you have commons-collections in your dependencies / classpath?

On Tue, 2004-03-16 at 13:40, [EMAIL PROTECTED] wrote:
> 
> 
> 
> Here is the snippet with -X flag:
> 
> [junit] [DEBUG] Class
> com.mydomain.contacts.mycontacts.utils.MappingsLoader loaded from ant
> loader
> 16 Mar 2004 09:29:50,122 DEBUG ### create Digester()...
> [junit] [DEBUG] Finding class
> org.apache.commons.digester.Digester
> [junit] [DEBUG] Class org.xml.sax.helpers.DefaultHandler loaded
> from parent loader
> [junit] [DEBUG] Class org.apache.commons.digester.Digester loaded
> from ant loader
> [junit] [DEBUG] Class org.xml.sax.SAXException loaded from parent
> loader
> [junit] [DEBUG] Class org.xml.sax.SAXParseException loaded from
> parent loader
> [junit] [DEBUG] Class java.util.EmptyStackException loaded from
> parent loader
> [junit] [DEBUG] Finding class org.apache.commons.digester.Rule
> [junit] [DEBUG] Class org.apache.commons.digester.Rule loaded
> from ant loader
> [junit] [DEBUG] Finding class
> org.apache.commons.digester.SetTopRule
> [junit] [DEBUG] Class org.apache.commons.digester.SetTopRule
> loaded from ant loader
> [junit] [DEBUG] Finding class
> org.apache.commons.digester.SetPropertyRule
> [junit] [DEBUG] Class org.apache.commons.digester.SetPropertyRule
> loaded from ant loader
> [junit] [DEBUG] Finding class
> org.apache.commons.digester.SetPropertiesRule
> [junit] [DEBUG] Class
> org.apache.commons.digester.SetPropertiesRule loaded from ant loader
> [junit] [DEBUG] Finding class
> org.apache.commons.digester.SetRootRule
> [junit] [DEBUG] Class org.apache.commons.digester.SetRootRule
> loaded from ant loader
> [junit] [DEBUG] Finding class
> org.apache.commons.digester.SetNextRule
> [junit] [DEBUG] Class org.apache.commons.digester.SetNextRule
> loaded from ant loader
> [junit] [DEBUG] Finding class
> org.apache.commons.digester.ObjectCreateRule
> [junit] [DEBUG] Class
> org.apache.commons.digester.ObjectCreateRule loaded from ant loader
> [junit] [DEBUG] Finding class
> org.apache.commons.digester.FactoryCreateRule
> [junit] [DEBUG] Class
> org.apache.commons.digester.FactoryCreateRule loaded from ant loader
> [junit] [DEBUG] Finding class
> org.apache.commons.digester.CallParamRule
> [junit] [DEBUG] Class org.apache.commons.digester.CallParamRule
> loaded from ant loader
> [junit] [DEBUG] Finding class
> org.apache.commons.digester.CallMethodRule
> [junit] [DEBUG] Class org.apache.commons.digester.CallMethodRule
> loaded from ant loader
> [junit] [DEBUG] Finding class
> org.apache.commons.digester.BeanPropertySetterRule
> [junit] [DEBUG] Class
> org.apache.commons.digester.BeanPropertySetterRule loaded from ant
> loader
> [junit] [DEBUG] Finding class org.apache.commons.digester.Rules
> [junit] [DEBUG] Class org.apache.commons.digester.Rules loaded
> from ant loader
> [junit] [DEBUG] Class org.xml.sax.DTDHandler loaded from parent
> loader
> [junit] [DEBUG] Class org.xml.sax.ContentHandler loaded from
> parent loader
> [junit] [DEBUG] Class org.xml.sax.EntityResolver loaded from
> parent loader
> [junit] [DEBUG] Class org.xml.sax.ErrorHandler loaded from parent
> loader
> [junit] [DEBUG] Class java.lang.Error loaded from parent loader
> [junit] [DEBUG] Finding class
> org.apache.commons.collections.ArrayStack
> [junit] Tests run: 2, Failures: 1, Errors: 1, Time elapsed: 0.238
> sec
> [junit] [ERROR] TEST
> com.mydomain.contacts.mycontacts.TestMethodParser FAILED
> 
> Note
> 
> Here is the snippet for stack with -e flag:
> 
> test:test:
> [junit] dir attribute ignored if running in the same VM
> 16 Mar 2004 09:23:53,873 DEBUG Invoked TestMethodParser(String)...
> [junit] Running com.mydomain.contacts.mycontacts.TestMethodParser
> 16 Mar 2004 09:23:54,000 DEBUG Invoked setUp()...
> 16 Mar 2004 09:23:54,018 DEBUG Exiting setUp()...
> 16 Mar 2004 09:23:54,021 DEBUG Invoked testGet()...
> 16 Mar 2004 09:23:54,026 DEBUG mp is null = false; emp is null =
> false
> 16 Mar 2004 09:23:54,029 DEBUG Invoked setSource(Object, String)...
> 16 Mar 2004 09:23:54,032 DEBUG Invoked mapMethods()...
> 16 Mar 2004 09:23:54,047 DEBUG ### create Digester()...
> [junit] Tests run: 2, Failures: 1, Errors: 1, Time elapsed: 0.231
> sec
> [junit] [ERROR] TEST
> com.mydomain.contacts.mycontacts.TestMethodParser FAILED
> 
> BUILD FAILED
> com.werken.werkz.UnattainableGoalException: Unable to obtain goal
> [mycontacts-dist] --
> file:/home/ecomdev/.maven/plugins/maven-test-plugin-1.4/:130:54:
>  There were test failu
> at
> org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:387)
> at
> org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
> at
> org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
> at
> com.werken

Re: Problems creating ejb jar

2004-03-16 Thread Arto Pastinen
Yeah i have use them both, and others too, it depends what i'm doing..
Here is little example from some stupid test project.xml

  
xdoclet
maven-xdoclet-plugin
1.2b4
plugin
  

  
xdoclet
xdoclet-web-module
1.2b4


There is no doclet for ejb, but you can add it easily. Like
xdoclet-web-module, but it's xdoclet-ejb-module. (if i remember
correctly), you can check it from www.ibiblio.com/maven/xdoclet/jars

I like that if web application project use some ejb (for persistence
example. btw. hibernate rocks.) 
those ejb parts are in own project, and i put that dependency to web
application project.xml. More like speed reasons, and usually after
those persistence/business stuff is finished, there is no need to touch
them after that.

Artsi

On Tue, 2004-03-16 at 11:57, thorsten maus wrote:
> did you include the
> ejbdoclet as well as the webdoclet in your project.xml ???
> 
> without the webdoclet maven will not create the ejb parts properly ..
> 
> 
> 
> Marco Tedone wrote:
> > Hi, I'm trying to create an ejb-jar for my project.
> > 
> > Following the documentation for the EJB plugin, I declared the following
> > properties:
> > 
> > #Sources to include in the ejb
> > maven.ejb.src=${maven.xdoclet.ejbdoclet.srcDir}/org/jemos/xmlop/ejbs/**/*.ja
> > va
> > 
> > #Includes the deployment descriptors
> > maven.ejb.includes=${maven.xdoclet.ejbdoclet.destDir}/META-INF/*.xml
> > 
> > However my jar file ends without classes or deployment descriptors in it.
> > 
> > In /src/project.xml I specified the following:
> > 
> > 
> > 
> > 
> >   
> >   
> > 
> > 
> > 
> > 
> > If I comment out  the jar is created with all the
> > classes.
> > 
> > I tried also to use  from ant, but I get an error dependency on
> > bcel, although I declared it as a dependency.
> > 
> > Thanks for any help,
> > 
> > Marco
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > -
> > 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: / /OREF:CPTDC853 commons-digester issue in my JUnit test

2004-03-16 Thread Arto Pastinen
Hi!

Have you tested -e option??
Could you send those fails, and if -e gives you stack, those too?

Artsi

On Tue, 2004-03-16 at 13:15, [EMAIL PROTECTED] wrote:
> 
> 
> 
> Thanks Craig for your previous, helpful, response.
> 
> I have got the resources (xml, etc.) sorted out now however my JUnit
> is still failing.
> I managed to narrow the problem down to being in commons-digester
> which I'm using as a project dependency. (commons-digester-1.5.jar)
> 
> I run this test in my IDE (WSAD) and runs 100% successful.
> However on the server where I have setup Maven the test fails when
> attempting to create an instance of the
> org.apache.commons.digester.Digester class.
> I get no exception, but I run Maven in debug mode and run some
> logging code that indicates that failure occurs in the instantiation
> of Digester class.
> 
> Here is the code snippet of method that gets invoked in the test and
> fails when creating new Digester():
> 
> public static ResultMappings loadMappings(String location)
>   throws org.xml.sax.SAXException, java.io.IOException {
> 
> log.debug("create Digester()...");
> Digester digester = new Digester();
> log.debug("done creating Digester()...");
> ...
> }
> 
> Could it be that Maven is loading a wrong version of digester jar
> classes?
> I have specified in project.xml file that my project depends on
> commons-digester-1.5. (it is located in my repository/
> commons-digester/jars/ dir.)
> 
> Any ideas where (or how) I should be looking into to solve this
> problem?
> It's really driving me mad now...:-)
> 
> Thanks
> 
> --Alen
> 
> 
> 
> 
> 
>  
>  
>  [EMAIL PROTECTED]   
>   
>  
>  
>  03/15/2004 05:07 PM 
>   To 
>[EMAIL PROTECTED] 
> 
>  
>   cc 
>Please respond to 
>  
>  [EMAIL PROTECTED]   
>  Subject 
>g   Re: / /OREF:CPT0 Include resource 
> required by test 
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
> 
> 
> 
> 
> On Mon, 2004-03-15 at 08:54, [EMAIL PROTECTED] wrote:
> > I have a Test class that requires to load a XML file.
> > I do it like this:
> > Thread.currentThread().getContextClassLoader
> > ().getResource(Constants.XML_CONFIG_FILENAME_DEFAULT)
> > Issue is that my Maven project does not include my xml/dtd files,
> so
> > the test fails to load the xml resource.
> >
> > My XML file is located in root source directory.
> > $project/src/my.xml
> > $project/src/com/.../.../.../
> >
> > I have played around with my project.xml  stuff with no
> luck.
> 
> 
>   ...
>   
> ...
> 
>   ...
>   
> 
>   ${basedir}/src
>   
> *.xml
>   
> 
>   
> 
> ...
>   
>   ...
> 
> 
> --
> Craig S. Cottingham
> [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> -

RE: eclipse plugin

2004-03-16 Thread Arto Pastinen
Hi!

Same as you, except eclipse is some 2.xxx version, but i think that it
doesn't matter..

But actually i tested it once again, and now it builds classpath file
correctly. I can't understand what the problem was.. I checked
project.xml's dependency many times, and i couldn't see any syntax
error.
Now i just copied other dependency, and changed groupId, artifactId, and
version, and it worked. Maby i must go to optic.. =) .. or get guide
dog.. =)
Sorry about this mess, and thnx for your help.

Artsi

On Tue, 2004-03-16 at 10:39, Rademacher Tobias wrote:
> Hi Artsi,
> 
> mhm... I have no problem with this? I'm using Eclipes 3.0M-7 and Maven
> 1.0rc1 along with maven-eclipse plugin 1.4. And you?
> 
> The eclipse plugin should automatically deteted that you are using JUnit and
> attaches it to the .classpath file.
> 
> Bye
> Toby
> 
> > -Original Message-
> > From: Arto Pastinen [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, March 16, 2004 8:45 AM
> > To: Maven Users List
> > Subject: RE: eclipse plugin
> > 
> > 
> > Hi Toby.
> > 
> > Yes they are, but the problem is, that i use eclipse plugin to build
> > eclipse's property files, and there is .classpath file, where 
> > maven puts
> > dependecies from project.xml, everything has worked fine, but 
> > maven just
> > don't put junit-xxx.jar to .classpath..
> > 
> > Artsi
> > 
> > On Tue, 2004-03-16 at 09:37, Rademacher Tobias wrote:
> > > Hi Artsi,
> > > 
> > > are your JUnit TestCases in your 
> > ${pom.build.unitTestSourceDirectory}
> > > defined in project.xml?
> > > 
> > > Hope this helps
> > > 
> > > Toby
> > > 
> > > > -Original Message-
> > > > From: Arto Pastinen [mailto:[EMAIL PROTECTED]
> > > > Sent: Tuesday, March 16, 2004 7:55 AM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: eclipse plugin
> > > > 
> > > > 
> > > > Hi!
> > > > 
> > > > Does anybody knows why eclipse plugin doesn't add junit 
> > to classpath
> > > > file?
> > > > 
> > > > Artsi
> > > > 
> > > > 
> > > > 
> > -
> > > > 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]
> 


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



RE: eclipse plugin

2004-03-15 Thread Arto Pastinen
Hi Toby.

Yes they are, but the problem is, that i use eclipse plugin to build
eclipse's property files, and there is .classpath file, where maven puts
dependecies from project.xml, everything has worked fine, but maven just
don't put junit-xxx.jar to .classpath..

Artsi

On Tue, 2004-03-16 at 09:37, Rademacher Tobias wrote:
> Hi Artsi,
> 
> are your JUnit TestCases in your ${pom.build.unitTestSourceDirectory}
> defined in project.xml?
> 
> Hope this helps
> 
> Toby
> 
> > -Original Message-
> > From: Arto Pastinen [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, March 16, 2004 7:55 AM
> > To: [EMAIL PROTECTED]
> > Subject: eclipse plugin
> > 
> > 
> > Hi!
> > 
> > Does anybody knows why eclipse plugin doesn't add junit to classpath
> > file?
> > 
> > Artsi
> > 
> > 
> > -
> > 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]



eclipse plugin

2004-03-15 Thread Arto Pastinen
Hi!

Does anybody knows why eclipse plugin doesn't add junit to classpath
file?

Artsi


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