using custom ant tasks?

2004-01-21 Thread Andy Lynch
Hi,

I'm starting to use maven to build a fairly complex application which is 
currently built using Ant; and am having trouble trying to use some 
custom ant tasks within Maven.

I've listed the jar file containing the tasks as a dependency:

...

   solnet
   solnetant
   1.1

...
and run our existing ant file using the following maven.xml:

   
   
   


The ant build starts, but shortly aborts saying it could not find the 
task defined in this jar. 
So I guess my question is, is there a way to specify a classpath for 
extra ant tasks within a maven project?

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


Re: Announcement Feature

2004-01-21 Thread Jeffrey Bonevich
Correction to myself: looks like there is a new plugin in the works 
called 'announcement'.  Source is here:
http://cvs.apache.org/viewcvs.cgi/maven-plugins/announcement/

Nothing on the maven site yet, so I assume it is not official. 
Comments, Jason or Vincent?

jeff

Jeffrey Bonevich wrote:
Don't know about 'Announcement', but there is a Changes report in Maven 
that you can populate from an xdoc-based changes.xml page.  See 
http://maven.apache.org/reference/plugins/changes/

or you could just create your own using the standard xdocs.  I have done 
the latter before.

jeff

ami mehta wrote:

Hi,

I am newbbie and I was developing a website for my company using 
maven. One
of interesting features that we want to use is Announcement feature of
maven. I understand that you have to announcement directorty in the file
system. However there is no documentation as to how this work and what 
kind
of properties it requires to set . Can someone guide me through it.

-Ami

_
Check out the new MSN 9 Dial-up ? fast & reliable Internet access with 
prime features! http://join.msn.com/?pgmarket=en-us&page=dialup/home&ST=1

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


--
jeff bonevich
mailto: [EMAIL PROTECTED]
"Any sufficiently advanced technology is indistinguishable from magic."
Arthur C. Clarke
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the Universe trying
to produce bigger and better idiots. So far, the Universe is winning."
Rich Cook
"All programmers are playwrights and all computers are lousy actors."
Unknown
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Announcement Feature

2004-01-21 Thread Jeffrey Bonevich
Don't know about 'Announcement', but there is a Changes report in Maven 
that you can populate from an xdoc-based changes.xml page.  See 
http://maven.apache.org/reference/plugins/changes/

or you could just create your own using the standard xdocs.  I have done 
the latter before.

jeff

ami mehta wrote:
Hi,

I am newbbie and I was developing a website for my company using maven. One
of interesting features that we want to use is Announcement feature of
maven. I understand that you have to announcement directorty in the file
system. However there is no documentation as to how this work and what kind
of properties it requires to set . Can someone guide me through it.
-Ami

_
Check out the new MSN 9 Dial-up ? fast & reliable Internet access with 
prime features! http://join.msn.com/?pgmarket=en-us&page=dialup/home&ST=1

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

--
jeff bonevich
mailto: [EMAIL PROTECTED]
"Any sufficiently advanced technology is indistinguishable from magic."
Arthur C. Clarke
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the Universe trying
to produce bigger and better idiots. So far, the Universe is winning."
Rich Cook
"All programmers are playwrights and all computers are lousy actors."
Unknown
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Making plugins a dependency

2004-01-21 Thread Brett Porter
Yes. It's a normal dependency, but add plugin.

Cheers,
Brett

> -Original Message-
> From: Alex Vollmer [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, 22 January 2004 12:00 PM
> To: Maven Users List
> Subject: Making plugins a dependency
> 
> 
> We have several products that are built by Maven that share 
> common Jelly code in a plugin I've been writing.  I'm trying 
> to avoid either reminding people to do 'plugin:install' 
> everytime there's a change to the plugin or writing some kind 
> of lame wrapper script around maven to check for a new plugin.
> 
> Is there a way I can deploy the plugin as a SNAPSHOT and have 
> my projects automatically download the latest goods?
> 
> Alex Vollmer
> 
> [EMAIL PROTECTED]
> 
> Software Engineer
> Tenzing Communications, Inc.
> 705 Fifth Avenue South, Suite 700
> Seattle, WA 98104 USA
> 
> T:  +1 206.607.2869
> 
> Bring your laptop and try inflight email on your next United, 
> Continental or Cathay Pacific flight. All you need is your 
> laptop, user ID, password, and email server URL. Tenzing 
> Communications, Inc. provides inflight email systems that 
> help airborne travelers stay in touch.
> 


Making plugins a dependency

2004-01-21 Thread Alex Vollmer
We have several products that are built by Maven that share common Jelly
code in a plugin I've been writing.  I'm trying to avoid either
reminding people to do 'plugin:install' everytime there's a change to
the plugin or writing some kind of lame wrapper script around maven to
check for a new plugin.

Is there a way I can deploy the plugin as a SNAPSHOT and have my
projects automatically download the latest goods?

Alex Vollmer

[EMAIL PROTECTED]

Software Engineer
Tenzing Communications, Inc.
705 Fifth Avenue South, Suite 700
Seattle, WA 98104 USA

T:  +1 206.607.2869

Bring your laptop and try inflight email on your next United,
Continental or Cathay Pacific flight. All you need is your laptop, user
ID, password, and email server URL. Tenzing Communications, Inc.
provides inflight email systems that help airborne travelers stay in
touch.


Re: Classloading

2004-01-21 Thread dion
And this works with fork=true in Ant too?
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/



Andy Jefferson <[EMAIL PROTECTED]> wrote on 21/01/2004 07:10:00 PM:

> On Wednesday 21 Jan 2004 07:59, [EMAIL PROTECTED] wrote:
> > How does using fork screw stdin/out?
> 
> Well, the app will not respond to user data entry when I use fork=true. 
Data 
> is entered and return is pressed yet the app never receives this. I 
interpret 
> that as stdin being not as it should be.
> 
> If I use fork=falsae and it gets to the same point and *will* respond to 
user 
> input  just it fails later with the org.w3c.Node issue as mentioned 
in 
> the first mail.
> 
> -- 
> Andy
> 
> 
> -
> 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: Classloading

2004-01-21 Thread Brett Porter
Sorry, I misread your original mail and didn't catch that fork=true stopped
the stdin/out working. Can you file this as an issue in JIRA?

The only thing I can propose at this point is that you don't fork, and use
JDK 1.3. I think that stops the XML related problems, but I'm not sure.

Cheers,
Brett

> -Original Message-
> From: Andy Jefferson [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, 21 January 2004 6:42 PM
> To: Maven Users List
> Subject: Re: Classloading
> 
> 
> Thx for your reply Brett.
> 
> > Blame ant :)
> 
> Well I can't really do that since Ant allows me to run this 
> Java app, yet 
> Maven doesn't :-(
> 
> > You'll need to fork to get this to work at the moment.
> 
> So I can conclude that I *can't* use Maven for this at the 
> moment then ... 
> since as I mentioned in the mail I need stdin, stdout in the 
> Java app and 
> using fork seems to screw that up.
> 
> 
> -- 
> Andy
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


RE: ${basedir} modified on invoking a plugin?

2004-01-21 Thread Brett Porter
Ok, so it is definitely the maven.gen.docs property that is getting mauled.

I can't see anything wrong with the plugin code - maybe it is a bug in the
lazy plugin installation. What happens if you plugin:install the readme
plugin and remove the dependency?

Cheers,
Brett

> -Original Message-
> From: Oliver Nölle [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, 22 January 2004 3:21 AM
> To: Maven Users List
> Subject: AW: ${basedir} modified on invoking a plugin?
> 
> 
> > -Ursprüngliche Nachricht-
> > Von: Brett Porter [mailto:[EMAIL PROTECTED]
> > Gesendet: Dienstag, 20. Januar 2004 23:26
> > An: 'Maven Users List'
> > Betreff: RE: ${basedir} modified on invoking a plugin?
> >
> >
> > You'll probably need a smaller test case to make this replicatable 
> > enough for JIRA.
> >
> > Have you got any weird project.properties or plugin.properties?
> >
> Nop.
> I checked my personal build.properties, and the plugins 
> properties, too. Nothing special...
> 
> But I was able to narrow down the problem:
> As soon as I used the following dependency in the plugin, the 
> strange behaviour occured:
> 
> 
>   maven-plugins
>   maven-readme-plugin
>   1.1
>   plugin
> 
> 
> This dependency is another self-written plugin (code below), 
> which is almost the same as the license plugin, but just 
> taking a readme.txt file and adding it to the sitedoc. No 
> special properties used in this plugin.
> 
> Is there any malicious code in this plugin.jelly that might 
> cause this strange behaviour? Or is stating dependencies to 
> other plugins in the project.xml not a good idea?
> 
> 
> Thanks for any information,
> 
> Oliver
> 
> 
> plugin.jelly of self-written maven-readme-plugin:
> ---
> 
> 
>xmlns:j="jelly:core"
>   xmlns:define="jelly:define"
>   xmlns:doc="doc"
>   xmlns:readme="readme"
>   xmlns:util="jelly:util">
> 
>   
>   
>   
>   
>  name="Readme"
>   pluginName="maven-readme-plugin"
>   link="readme"
>   description="Displays build and usage 
> information for the component (readme.txt)."/>
>   
> 
>   
>   
>   
> 
>  description="Generate an XML file from the 
> readme.txt" prereqs="xdoc:init">
> 
> 
>   readme.txt
>
> value="${pom.getPluginContext('maven-xdoc-plugin').getVariable
> ('maven.gen.do
> cs')}"/>
> 
>   
>   
>   
> 
>   
>value='${plugin.resources}/readme.txt'/>
>   
> 
>  title="Readme"
>   section="Readme"
>   output="${genDocs}/readme.xml"
>   inputFile="${readmeFile}"/>
>   
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


Re: file activity plugin problem on windows

2004-01-21 Thread Emmanuel Venisse
You can use the changelog plugin in cvs head. We use a java cvs client and
not the cvs command line.

Emmanuel

- Original Message - 
From: "Eric Giguere" <[EMAIL PROTECTED]>
To: "Maven User List" <[EMAIL PROTECTED]>
Sent: Wednesday, January 21, 2004 7:34 PM
Subject: file activity plugin problem on windows


> Hi all
> Got a small problem here with the file activity plugin on my W2K
workstation.
>
> Running under Windos, the command line fails the the plugin reports that
the
> cvs executable cannot be found but the diagnostic is not accurate.
> I've run the command that the engine try to run and the problem seems to
be
> with the date rage specification.
>
> We have someting like :
> cvs -d :pserver... log -d 2003-12-22<2004-01-22
>
> The problem is with the date range. This command line fails even when you
type
> it. To make it valid, we must include the date range in double quotes so
that
> the "<" won't be interpreted as a file output redirection.
>
> Am I doing something wrong? Any workaround?
>
> Eric.
>
> 
> Eric Giguere, ing.
>
> Software Team Leader
> NHC Communications Inc. http://www.nhc.com/
>
> 5450 Cote de Liesse
> Mont-Royal (Quebec)
> Canada  H4P 1A5
>
> Tel.: Direct   (514) 735-2741 x262
> Fax.:  (514) 735-8057
> Toll Free: 1-800-361-1965
>
>
> This message is intended for the use of the
> addressee and may contain information that is
> privileged and/or confidential. If you are
> not the intended recipient, you are hereby
> notified that any dissemination,
> distribution or copying of the information
> contained in this message is strictly
> unauthorized and prohibited. If you have
> received this message in error, please
> notify the sender by reply e-mail and
> delete the message from your system.
> Opinions, conclusions, or other statements
> in this message which do not relate to the
> business of NHC Communications Inc., its
> subsidiaries or affiliates, are neither
> given nor endorsed by NHC Communications Inc.
>
> 
>
>
>
>
>


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



file activity plugin problem on windows

2004-01-21 Thread Eric Giguere
Hi all
Got a small problem here with the file activity plugin on my W2K workstation.

Running under Windos, the command line fails the the plugin reports that the
cvs executable cannot be found but the diagnostic is not accurate.
I've run the command that the engine try to run and the problem seems to be
with the date rage specification.

We have someting like :
cvs -d :pserver... log -d 2003-12-22<2004-01-22

The problem is with the date range. This command line fails even when you type
it. To make it valid, we must include the date range in double quotes so that
the "<" won't be interpreted as a file output redirection.

Am I doing something wrong? Any workaround?

Eric.


Eric Giguere, ing.

Software Team Leader
NHC Communications Inc. http://www.nhc.com/

5450 Cote de Liesse
Mont-Royal (Quebec)
Canada  H4P 1A5

Tel.: Direct   (514) 735-2741 x262
Fax.:  (514) 735-8057
Toll Free: 1-800-361-1965


This message is intended for the use of the
addressee and may contain information that is
privileged and/or confidential. If you are
not the intended recipient, you are hereby
notified that any dissemination,
distribution or copying of the information
contained in this message is strictly
unauthorized and prohibited. If you have
received this message in error, please
notify the sender by reply e-mail and
delete the message from your system.
Opinions, conclusions, or other statements
in this message which do not relate to the
business of NHC Communications Inc., its
subsidiaries or affiliates, are neither
given nor endorsed by NHC Communications Inc.








Announcement Feature

2004-01-21 Thread Ami . Mehta




Hi,

I am new to maven and I was developing a website for my company using
maven. One of the features of maven that I would like to include is of
Announcement feature.  I understand that you have to create an announcement
directory in the file system. However there is no documentation as to how
this work and what other property do I need to set to get this feature
working. Can someone guide me on how to use this feature.

Thanks
-Ami
This e-mail message is for the sole use of the intended recipient(s) and
may contain confidential and privileged information. Any unauthorized
review, use, disclosure or distribution is prohibited. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies of the original message. To reply to our e-mail administrator
directly, send an e-mail to: [EMAIL PROTECTED]


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



AW: ${basedir} modified on invoking a plugin?

2004-01-21 Thread Oliver Nölle
> -Ursprüngliche Nachricht-
> Von: Brett Porter [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 20. Januar 2004 23:26
> An: 'Maven Users List'
> Betreff: RE: ${basedir} modified on invoking a plugin?
>
>
> You'll probably need a smaller test case to make this replicatable enough
> for JIRA.
>
> Have you got any weird project.properties or plugin.properties?
>
Nop.
I checked my personal build.properties, and the plugins properties, too.
Nothing special...

But I was able to narrow down the problem:
As soon as I used the following dependency in the plugin, the strange
behaviour occured:


maven-plugins
maven-readme-plugin
1.1
plugin


This dependency is another self-written plugin (code below), which is almost
the same as the license plugin, but just taking a readme.txt file and adding
it to the sitedoc. No special properties used in this plugin.

Is there any malicious code in this plugin.jelly that might cause this
strange behaviour?
Or is stating dependencies to other plugins in the project.xml not a good
idea?


Thanks for any information,

Oliver


plugin.jelly of self-written maven-readme-plugin:
---


















readme.txt















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



Announcement Feature

2004-01-21 Thread ami mehta
Hi,

I am newbbie and I was developing a website for my company using maven. One
of interesting features that we want to use is Announcement feature of
maven. I understand that you have to announcement directorty in the file
system. However there is no documentation as to how this work and what kind
of properties it requires to set . Can someone guide me through it.
-Ami

_
Check out the new MSN 9 Dial-up — fast & reliable Internet access with prime 
features! http://join.msn.com/?pgmarket=en-us&page=dialup/home&ST=1

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


RE: multiproject target overriding

2004-01-21 Thread Amnon Khen
Hi Jefferson,

My problem is even weirder now...
One pair of goals works as I expect it: when I invoke maven from the parent
project, the parent goals is executed, and when I invoke from the child
project - the child goal is executed.
In another pair of goals, it doesn't work like this. No matter where I
invoke Maven form, it's the parent goal that's invoked. I tried to create
this problem on a "Greenfield" project, but it didn't happen.

Amnon

-Original Message-
From: Jefferson K. French [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 21, 2004 15:58
To: Maven Users List
Subject: Re: multiproject target overriding

How are you invoking the goal in the child project? I'm not seeing the
same behavior here. I have the following goals:

Parent
--
check   - invokes multiproject with checkit goal
checkit - echos a message

Child (extends Parent)
-
checkit - echos a different message

When I cd to the child project and run 'maven checkit' I just get the
child's output. When I run 'maven check', it invokes the parent's
check goal, but I do not get any messages from the parent's checkit
goal.

  Jeff

On Wed, 21 Jan 2004, at 15:41:51 [GMT +0200] Amnon Khen wrote:

> Hi,
 
> I have a maven project that extends another one, each of which has its own
> maven.xml. If I declare a goal with the same name in each maven.xml and
> invoke the child Maven project, the parent goal is the one that's
executed.
> Is this the standard behavior? What can be done in order to avoid this?
 
> Thanks for your time, 
> Amnon

-- 
mailto:[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]



preGoal, attainGoal question

2004-01-21 Thread mruff
Hello,
I'm new to maven.
My intention is to checkout a project (scm:checkout-project) and the 
build it (site:generate)

I wanted this to achive with the following maven.xml file:


  
  

  
  
  

The problem now is the the scm:checkout-project is not exectued, and I 
do not know why. The project.xml and project.properties files are 
correct. If I call maven site:generate or maven scm:checkout-project 
individually without the maven.xml file they both work fine. But I do 
not get it to work together like I want:
1. checkout
2. site generate

Thanks for help

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


Re: multiproject target overriding

2004-01-21 Thread Jefferson K. French
How are you invoking the goal in the child project? I'm not seeing the
same behavior here. I have the following goals:

Parent
--
check   - invokes multiproject with checkit goal
checkit - echos a message

Child (extends Parent)
-
checkit - echos a different message

When I cd to the child project and run 'maven checkit' I just get the
child's output. When I run 'maven check', it invokes the parent's
check goal, but I do not get any messages from the parent's checkit
goal.

  Jeff

On Wed, 21 Jan 2004, at 15:41:51 [GMT +0200] Amnon Khen wrote:

> Hi,
 
> I have a maven project that extends another one, each of which has its own
> maven.xml. If I declare a goal with the same name in each maven.xml and
> invoke the child Maven project, the parent goal is the one that's executed.
> Is this the standard behavior? What can be done in order to avoid this?
 
> Thanks for your time, 
> Amnon

-- 
mailto:[EMAIL PROTECTED]



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



multiproject target overriding

2004-01-21 Thread Amnon Khen
Hi,
 
I have a maven project that extends another one, each of which has its own
maven.xml. If I declare a goal with the same name in each maven.xml and
invoke the child Maven project, the parent goal is the one that's executed.
Is this the standard behavior? What can be done in order to avoid this?
 
Thanks for your time, 
Amnon
 
__
Amnon Khen, Configuration Management, Cash-U Mobile Technologies LTD. 
Mobile: +972-(0)54-922394 / Office: +972-(0)9-8920815
mailto:[EMAIL PROTECTED]   /
http://www.cash-u.com  
Israel - 45 Hamelacha St., P.O. Box 8617, New Industrial Zone, Netanya
36880, Israel / Tel: +972 9 8920888 
Europe - Argentum, 2 Queen Caroline St., Hammersmith, London W6 9DT, UK /
Tel: +44 20 8323 8066
Asia-Pacific -  47A Duxton Road, Singapore 089511 / Tel: +65 67322440
__
This e-mail message and its attachments are for the sole use of the intended
recipient(s), may contain confidential and/or privileged information and are
to  be regarded as confidential information under any non disclosure
agreement. Any review, use, disclosure or distribution by persons or
entities other than the intended recipient(s) is prohibited. If you are not
the intended recipient, please contact the  sender by reply and destroy all
copies of the original message and its attachments.
__
 


creating zip distribution

2004-01-21 Thread Amnon Khen
Hello Maven-folk,
 
The deliverable artifact in my project is a zip archive that contains  a
jar, configuration files, scripts and much more. I would like to use Maven
to create it, but I haven't found any plugin that does what I want.
Before I delve into writing one myself, I would like to make sure I haven't
missed anything.
Suppose my project contains only a collectionfiles, which should be packed
and deployed to the repository (no java source files to compile). If I use
the Distribution plugin, it does a lot of things I don't need, like creating
a jar, generating documentation, creating a zip, tar etc. Is there any way
to customize it's behavior? Is there any other plugin I can use?
I went through the code of the Disribution plugin and didn;t find any.
Has anyone encountered such problem before? If so how was it solved?
 
Thanks for your time,
Amnon
 

__

Amnon Khen, Configuration Management, Cash-U Mobile Technologies LTD. 

Mobile: +972-(0)54-922394 / Office: +972-(0)9-8920815

mailto:[EMAIL PROTECTED]   /
http://www.cash-u.com  

Israel - 45 Hamelacha St., P.O. Box 8617, New Industrial Zone, Netanya
36880, Israel / Tel: +972 9 8920888 

Europe - Argentum, 2 Queen Caroline St., Hammersmith, London W6 9DT, UK /
Tel: +44 20 8323 8066

Asia-Pacific -  47A Duxton Road, Singapore 089511 / Tel: +65 67322440

__

This e-mail message and its attachments are for the sole use of the intended
recipient(s), may contain confidential and/or privileged information and are
to  be regarded as confidential information under any non disclosure
agreement. Any review, use, disclosure or distribution by persons or
entities other than the intended recipient(s) is prohibited. If you are not
the intended recipient, please contact the  sender by reply and destroy all
copies of the original message and its attachments.

__

 

 


RE: Supress JCoverage analysis of particular classes/packages?

2004-01-21 Thread Mike Melia
Actually, this may be possible in the not too distant future :)

We're working on enhancements to JCoverage as part of a weekly Geek
Night. This includes pluggable filters for JCoverage enabling specific
includes and excludes at the class and method level. I plan to
incorporate these changes into a version of the JCoverage plugin as soon
as they are available.

I'll post here if/when we get there.

Cheers,
Mike

__
Mike Melia
ThoughtWorks Inc
http://www.thoughtworks.com
mikemelia AT thoughtworks.net
mmelia At thoughtworks.com
y! : Michael_A_Melia


> -Original Message-
> From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 21 January 2004 7:22 PM
> To: Maven Users List; [EMAIL PROTECTED]
> Subject: Re: Supress JCoverage analysis of particular
classes/packages?
> 
> Actually, it isn't possible. Sorry.
> 
> But, you can run jcoverage on your different OS and after, merge all
> jcoverage intrumentation files with jcoverage:merge goal.
> 
> Emmanuel
> 
> - Original Message -
> From: "Gareth Cronin" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, January 21, 2004 12:15 AM
> Subject: Supress JCoverage analysis of particular classes/packages?
> 
> 
> > I've looked through the plugin docs but I can't seem to find any
> > reference to this. Is it possible, or could it be made possible to
> > specify file patterns to ignore when making the JCoverage analysis?
We
> > have a number of OS-specific classes that make Runtime calls where
unit
> > testing is pointless (e.g. calls that spawn lpr to print files) and
they
> > upset the nice JCoverage statistics.
> >
> > Thanks,
> >
> > Gareth.
> >
> >
-
> > 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: Adding dependency info in MANIFEST.MF

2004-01-21 Thread rhill2
Quoting Roberto Simoni <[EMAIL PROTECTED]>:

> Hi, do u know how can I add dependency information in the MANIFEST.MF
> I know that I have to use the 'Extension-List' field and other subfields
> like: -Extension-Name, -Implementation-Version,
> etc...
> Is there a way to compile this info with Maven?
> 

this is perhaps not exactly what you want but you can control the manifest using
maven.jar.manifest property. [quoting] This file is 'merged' with the default
manifest created by Maven [/quoting]
(http://maven.apache.org/reference/plugins/jar/releases/v1.1/properties.html)

-- gd

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



Re: web site generation - "Last published" bar dissapear sometimes

2004-01-21 Thread rhill2
Quoting Stephane Nicoll <[EMAIL PROTECTED]>:

> Hello,
> 
> I am using one of the latest CVS state and there's something weird in the
> way
> web site are generated. Some of my projects have this bar "Last published
> XXX
> | Doc for 1.11" while others don't.
> 
> What's the settings to always enable this?
> 

Stephane,

this behavior is controlled through the maven.xdoc.date property. see
http://maven.apache.org/reference/plugins/xdoc/properties.html

-- gd

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



Adding dependency info in MANIFEST.MF

2004-01-21 Thread Roberto Simoni
Hi, do u know how can I add dependency information in the MANIFEST.MF
I know that I have to use the 'Extension-List' field and other subfields like: 
-Extension-Name, -Implementation-Version, etc...
Is there a way to compile this info with Maven?

Thanks
Bye


--
Roberto Simoni
[EMAIL PROTECTED]

Menhir Informatica
Via Carnovali, 90/A
Tel: 035 32.25.28
Fax: 035 42.47.239

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



Re: JUnit NoSuchMethodError.

2004-01-21 Thread Bartel Runeaxe
Thanks a lot it solves my problem ! 
 
But I still dont understand why I was the only one in my team with this case (we share 
the project.xml).

Antoine

Ben Walding <[EMAIL PROTECTED]> wrote:
You need to make sure you don't have junit in your dependency list. It 
is added automatically during the test phase.

I'd say you're compiling against one version, then running against a 
different version of junit

Bartel Runeaxe wrote:

>Hi,
> 
>We are currently migrating our project from ant to maven.
>
>I try to perform a 'test:test' goal and get the fallowing error (stack bellow).
>The method for the line refered in the stack is:
>"assertEquals(Object, Object)" from the JUnit framework.
>The two object passed are 'String'
>But If explicitely cast my two String in Object the error doesn't occur. 
>assertEquals((Object)st2, (Object)st2)
>I am the only one of my team to get this, so it must come from my local classpath or 
>so.
>
>But I can't find anything. 
> 
>Thanks for any help.
> 
>stack:
> 
>Testcase: test took 0.14 sec
> Caused an ERROR
>null
>java.lang.NoSuchMethodError
> at com.myproject.Test.test(Test.java:38)
> at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232)
> 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 org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
> 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.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
> at com.werken.werkz.Goal.fire(Goal.java:639)
> at com.werken.werkz.Goal.attain(Goal.java:575)
> at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
> at com.werken.werkz.Goal.attain(Goal.java:573)
> at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
> at org.apache.maven.cli.App.doMain(App.java:543)
> at org.apache.maven.cli.App.main(App.java:1109)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
>
>
>
>-
>Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
>Testez le nouveau Yahoo! Mail
> 
>


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



-
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Testez le nouveau Yahoo! Mail

web site generation - "Last published" bar dissapear sometimes

2004-01-21 Thread Stephane Nicoll
Hello,

I am using one of the latest CVS state and there's something weird in the way
web site are generated. Some of my projects have this bar "Last published XXX
| Doc for 1.11" while others don't.

What's the settings to always enable this?

Regards,

Stephane

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



Re: Supress JCoverage analysis of particular classes/packages?

2004-01-21 Thread Emmanuel Venisse
Actually, it isn't possible. Sorry.

But, you can run jcoverage on your different OS and after, merge all
jcoverage intrumentation files with jcoverage:merge goal.

Emmanuel

- Original Message - 
From: "Gareth Cronin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 21, 2004 12:15 AM
Subject: Supress JCoverage analysis of particular classes/packages?


> I've looked through the plugin docs but I can't seem to find any
> reference to this. Is it possible, or could it be made possible to
> specify file patterns to ignore when making the JCoverage analysis? We
> have a number of OS-specific classes that make Runtime calls where unit
> testing is pointless (e.g. calls that spawn lpr to print files) and they
> upset the nice JCoverage statistics.
>
> Thanks,
>
> Gareth.
>
> -
> 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: Classloading

2004-01-21 Thread Andy Jefferson
On Wednesday 21 Jan 2004 07:59, [EMAIL PROTECTED] wrote:
> How does using fork screw stdin/out?

Well, the app will not respond to user data entry when I use fork=true. Data 
is entered and return is pressed yet the app never receives this. I interpret 
that as stdin being not as it should be.

If I use fork=falsae and it gets to the same point and *will* respond to user 
input  just it fails later with the org.w3c.Node issue as mentioned in 
the first mail.

-- 
Andy


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



Re: Classloading

2004-01-21 Thread dion
How does using fork screw stdin/out?
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/



Andy Jefferson <[EMAIL PROTECTED]> wrote on 21/01/2004 06:42:00 PM:

> Thx for your reply Brett.
> 
> > Blame ant :)
> 
> Well I can't really do that since Ant allows me to run this Java app, 
yet 
> Maven doesn't :-(
> 
> > You'll need to fork to get this to work at the moment.
> 
> So I can conclude that I *can't* use Maven for this at the moment then 
... 
> since as I mentioned in the mail I need stdin, stdout in the Java app 
and 
> using fork seems to screw that up.
> 
> 
> -- 
> Andy
> 
> 
> -
> 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: Classloading

2004-01-21 Thread Andy Jefferson
Thx for your reply Brett.

> Blame ant :)

Well I can't really do that since Ant allows me to run this Java app, yet 
Maven doesn't :-(

> You'll need to fork to get this to work at the moment.

So I can conclude that I *can't* use Maven for this at the moment then ... 
since as I mentioned in the mail I need stdin, stdout in the Java app and 
using fork seems to screw that up.


-- 
Andy


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