Re: LinkCheck Plugin

2005-04-08 Thread Brett Porter
Can you please file a bug against the changelog plugin? I've never
noticed that before, but it seems all the paths are relative to the
actual repository root, not what is specified in the  tag.

Cheers,
Brett

On Apr 9, 2005 2:23 PM, James Mitchell <[EMAIL PROTECTED]> wrote:
> Thanks Brett.
> 
> Another quick question.
> 
> In the Change Log and File Activity reports, the File/Message entries look
> fine, but the link to the svn repository is incorrect.
> 
> I must be missing something...
> http://www.edgetechservices.net/maven/docs/multiproject/struts-core/changelog-report.html
> 
> For example:
> The value says /struts/core/trunk/src/Foo.java
> 
> ...but the href links to:
> http://svn.apache.org/repos/asf/struts/core/trunk/struts/core/trunk/src/Foo.java
> ^---^ ^---^
> 
> I tried a few things in the POM, googled, and looked through the site docs
> and reference properties, but nothing jumps out at me.
> 
> --
> James Mitchell
> Software Engineer / Open Source Evangelist
> Consulting / Mentoring / Freelance
> EdgeTech, Inc.
> 678.910.8017
> AIM:   jmitchtx
> Yahoo: jmitchtx
> MSN:   [EMAIL PROTECTED]
> 
> - Original Message -
> From: "Brett Porter" <[EMAIL PROTECTED]>
> To: "Maven Users List" 
> Sent: Friday, April 08, 2005 9:26 PM
> Subject: Re: LinkCheck Plugin
> 
> > That was because the default cache was not stored in /target/. It's
> > configurable.
> >
> > On Apr 9, 2005 6:12 AM, James Mitchell <[EMAIL PROTECTED]> wrote:
> >> With respect to #2 on this page:
> >> http://maven.apache.org/reference/plugins/linkcheck/
> >>
> >> Is this saying that this plugin will have the ability to skip previously
> >> validated remote URLs EVEN after a "clean"?
> >>
> >> --
> >> James Mitchell
> >> Software Engineer / Open Source Evangelist
> >> Consulting / Mentoring / Freelance
> >> EdgeTech, Inc.
> >> 678.910.8017
> >> AIM:   jmitchtx
> >> Yahoo: jmitchtx
> >> MSN:   [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: LinkCheck Plugin

2005-04-08 Thread James Mitchell
Thanks Brett.
Another quick question.
In the Change Log and File Activity reports, the File/Message entries look 
fine, but the link to the svn repository is incorrect.

I must be missing something...
http://www.edgetechservices.net/maven/docs/multiproject/struts-core/changelog-report.html
For example:
The value says /struts/core/trunk/src/Foo.java
...but the href links to:
http://svn.apache.org/repos/asf/struts/core/trunk/struts/core/trunk/src/Foo.java
   ^---^ ^---^
I tried a few things in the POM, googled, and looked through the site docs 
and reference properties, but nothing jumps out at me.


--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeTech, Inc.
678.910.8017
AIM:   jmitchtx
Yahoo: jmitchtx
MSN:   [EMAIL PROTECTED]

- Original Message - 
From: "Brett Porter" <[EMAIL PROTECTED]>
To: "Maven Users List" 
Sent: Friday, April 08, 2005 9:26 PM
Subject: Re: LinkCheck Plugin


That was because the default cache was not stored in /target/. It's
configurable.
On Apr 9, 2005 6:12 AM, James Mitchell <[EMAIL PROTECTED]> wrote:
With respect to #2 on this page:
http://maven.apache.org/reference/plugins/linkcheck/
Is this saying that this plugin will have the ability to skip previously
validated remote URLs EVEN after a "clean"?
--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeTech, Inc.
678.910.8017
AIM:   jmitchtx
Yahoo: jmitchtx
MSN:   [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: Migrating to Maven

2005-04-08 Thread baleineca
Anil Arora wrote:
And with multiproject, the
dependency version should be centralized.  I guess the only way to do
this is to use the jar override mechanism.  Also, I cannot figure out
how to correctly get the dependencies between projects to work.  It's
says it cannot download the jar file.  

I have a project with sub projects and the version is "centralized" in a 
way, as it is defined in the top level project.xml that the sub projects 
inherit with  tag (the sub projects don't define the version in 
their own project.xml).

The dependencies are defined as follows, and because the reactor 
determines the order of the build (I use a custom reactor build, but I 
think this should also happen with multiproject), the dependencies work 
out fine.  No jar override is used.

 
 ${pom.groupId}
 someArtifact
 ${pom.currentVersion}
 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: LinkCheck Plugin

2005-04-08 Thread Brett Porter
That was because the default cache was not stored in /target/. It's
configurable.

On Apr 9, 2005 6:12 AM, James Mitchell <[EMAIL PROTECTED]> wrote:
> With respect to #2 on this page:
> http://maven.apache.org/reference/plugins/linkcheck/
> 
> Is this saying that this plugin will have the ability to skip previously
> validated remote URLs EVEN after a "clean"?
> 
> --
> James Mitchell
> Software Engineer / Open Source Evangelist
> Consulting / Mentoring / Freelance
> EdgeTech, Inc.
> 678.910.8017
> AIM:   jmitchtx
> Yahoo: jmitchtx
> MSN:   [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: Equivalent of "maven --info" when running in console

2005-04-08 Thread Brett Porter
I'm not sure if you could... what do you need it for?

On Apr 9, 2005 6:40 AM, Jamie Bisotti <[EMAIL PROTECTED]> wrote:
> When inside maven's console plugin, how can I get the equivalent
> information provided by the --info parameter?
> 
> --
> Jamie
> 
> -
> 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 2

2005-04-08 Thread John Casey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Just letting you know that the maven-eclipse-plugin for Maven 2.0 is
deployed to ibiblio.org.

To use it, type:

m2 eclipse:eclipse

in the root of your project directory.

HTH,

john

Ilyevsky, Leonid (Equity Trading) wrote:
> I got maven2 today, and I am eager to start. Two main problems right in
> the beginning:
> 
> 1. Where do I specify my web proxy ? Obviously maven2 does not use
> build.properties anymore.
> 
> 2. On maven2 webpage they suggest to consult documentation frequently.
> Where is documentation anyway? I couldn't find it. If I looked at
> documentation, I probably wouldn't have the problem #1.
> 
> Please help. I cannot do anything without proxy settings.
> 
> 
> If you are not an intended recipient of this e-mail, please notify the 
> sender, delete it and do not read, act upon, print, disclose, copy, retain or 
> redistribute it. Click here for important additional terms relating to this 
> e-mail. http://www.ml.com/email_terms/
> 
> 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFCVwYuK3h2CZwO/4URAnyOAJ4w40v43ay9MQOPPWh/y9qDCGgscQCfaNIK
lYeMHqoeTGoAYu3xUnmbSLQ=
=m1lp
-END PGP SIGNATURE-

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



RE: Migrating to Maven

2005-04-08 Thread Anil Arora
Thanks, Anthony.

This was very helpful.  I've started a prototype of a maven build
environment on top of our existing one.  My goal is to not change
anything, with the exception of a few minor tweaks.  Moving src files
around is not much of an option right now.

I also did a bit of searching to look for an example of an application
built using maven, versus a library.  The only one I have looked at is
cruisecontrol itself, since I had that handy.  I would be curious to see
if someone used maven to build tomcat because that's a complicated
application with a lot of artifacts, distribution, etc.

I'm actually quite disappointed with the artifact management stuff.
Yes, the whole downloadable thing is nice.  But projects always contain
more than one artifact.  Ant itself contains multiple jar files.  It
seems like a pain for me to have to create a dependency for each jar
file for a dependent application.   And with multiproject, the
dependency version should be centralized.  I guess the only way to do
this is to use the jar override mechanism.  Also, I cannot figure out
how to correctly get the dependencies between projects to work.  It's
says it cannot download the jar file.  

I don't want this to sound like I'm criticizing Maven too much, because
I believe that the intentions are good.  Just needs a bit more work.  

I really like the multiproject site generation.  Actually, that's the
main reason for me looking at Maven at this point.  I'll have to figure
out how to combine all of the javadocs together for distribution
(internal/external).

Anil

-Original Message-
From: Roy, Anthony [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 08, 2005 1:51 AM
To: Maven Users List
Subject: RE: Migrating to Maven

> First, I would like to see what people's first impressions 
> are.  Have other people tried to adopt maven in a similar way 
> and succeeded/failed?

We have been using Maven now for around 5 months. It was easy to get
started with, and requires a lot less work to set up than an Ant project
(we had our own Ant build system with lots of default targets for common
tasks, almost all of which have been made redundant with the switch to
Maven. The dependency resolution, while not perfect, was a HUGE
incentive for us - it makes starting new projects so much easier, as
well as updating libraries in existing projects, and managing
inter-project dependencies.

> I'm guessing I need some sort of master project file that 
> will drive the sub projects.  I was looking at the 
> multiproject plug-in.  This seemed to be something that I 
> needed to use.  But it seems like I need finer grain control 
> on what order the projects are compiled in.

The muli-project plugin looks through the list of dependencies in each
project, and makes sure that projects get built in the correct order
(i.e. a project will be built after its dependencies). If you *do* need
finer control than that, you can create a new goal in your maven.xml,
perhaps using the reactor jelly tag to get whatever control you need. It
is considered best practice though to get your projects using as little
customisation as possible in the maven.xml, since it reduces maintenance
cost.
 
> If I encounter a case where there is a third party jar file 
> is not in ibiblio or an online repository, what is the 
> recommended procedure? 

Copy the jar into an appropriate directory structure in your global
repository (or local repo if you haven't got a global one set up). For
example we have the javamail jar in the javamail/jars/ directory of the
repo, with the filename javamail-1.3.2.jar. This is then referenced by
the dependency


javamail
javamail
1.3.2


> How can I build a jar without the version number?  I don't 
> really care about the version number.  The entire image is 
> versioned.  Actually, how do I strip out the version numbers 
> from the third-party jar files.  We don't care for this and 
> it actually makes our lives harder when we do patching.  We'd 
> have to remove the old jar files and add the new ones. In our 
> current environment, we just simply overlay the jar file and 
> restart the application.

Set up a post-goal to jar:jar in the maven.xml to rename the jar:





Do something similar for the third party jars assuming you have some
sort of pack goal set up (we actually have a maven plugin set up that we
use to build all distributions - the best approach if you are going to
be using the same custom goals for different projects).

> How do I tell maven to place all of the jar files under the 
> image instead of some unknown location?  

We found that the smoothest way to use Maven was to use the standard
setup, which is not very much different from the setup you already have.
For example:

+- base/util
 +- src
 +- java
 +- test
 +- config
 +- target
 +- xdocs

The source along with any specified config files get comiled and placed
in the target dir, as do any jars created. If you wanted to m

Equivalent of "maven --info" when running in console

2005-04-08 Thread Jamie Bisotti
When inside maven's console plugin, how can I get the equivalent
information provided by the --info parameter?

-- 
Jamie

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



LinkCheck Plugin

2005-04-08 Thread James Mitchell
With respect to #2 on this page:
http://maven.apache.org/reference/plugins/linkcheck/
Is this saying that this plugin will have the ability to skip previously 
validated remote URLs EVEN after a "clean"?


--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeTech, Inc.
678.910.8017
AIM:   jmitchtx
Yahoo: jmitchtx
MSN:   [EMAIL PROTECTED]


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


Newbie: maven and xdoclet without the xdoclet-plugin - No results

2005-04-08 Thread Louis Burroughs
I was running the xdoclet plugin for maven and was having trouble with 
error messages telling me that I had files in more than one fileset.  So I 
decided to scale back and take a working ant script and incorporate it 
into my maven.xml.  The script runs to completion and tells me that the 
build passed, but nothing is created.  I pasted the verbose output from 
maven below and you can see where Ant is loading classes and appears to be 
ready to execute the task, it then terminates without generating the files 
or giving an error.  Anybody point me in the right direction?  Thanks!

PS - I have also posted this to the xdoclet user list.





 +---+

|-|
| R U N N I N G W E B D O C L E T |
|_|

 +---+

Taskdef.















Timestamp...



Webdoclet..

Fileset..


Deployment Descriptor

XMI files..

Exit webdoclet.





webdoclet_goal:
[echo] 
 +---+
 
[echo] |-|
[echo] | R U N N I N G W E B D O C L E T |
[echo] |_|
[echo] 
 +---+
 
[taskdef] [DEBUG] Finding class xdoclet.modules.web.WebDocletTask
[taskdef] [DEBUG] Finding class xdoclet.DocletTask
[taskdef] [DEBUG] Finding class xjavadoc.ant.XJavadocTask
[taskdef] [DEBUG] Class org.apache.tools.ant.Task loaded from parent 
loader
[taskdef] [DEBUG] Class xjavadoc.ant.XJavadocTask loaded from ant 
loader
[taskdef] [DEBUG] Class org.apache.tools.ant.DynamicConfigurator 
loaded from parent loader
[taskdef] [DEBUG] Class xdoclet.DocletTask loaded from ant loader
[taskdef] [DEBUG] Class xdoclet.modules.web.WebDocletTask loaded from 
ant loader
[taskdef] [DEBUG] Class java.lang.Throwable loaded from parent loader
[taskdef] [DEBUG] Class java.lang.OutOfMemoryError loaded from parent 
loader
[taskdef] [DEBUG] Class java.util.Map loaded from parent loader
[taskdef] [DEBUG] Class org.apache.tools.ant.types.AbstractFileSet 
loaded from parent loader
[taskdef] [DEBUG] Class org.apache.tools.ant.types.FileSet loaded from 
parent loader
[taskdef] [DEBUG] Finding class xjavadoc.SourceSet
[taskdef] [DEBUG] Class java.lang.Object loaded from parent loader
[taskdef] [DEBUG] Class java.io.Serializable loaded from parent loader
[taskdef] [DEBUG] Class xjavadoc.SourceSet loaded from ant loader
[taskdef] [DEBUG] Class org.apache.tools.ant.BuildException loaded 
from parent loader
[taskdef] [DEBUG] Class java.lang.ClassNotFoundException loaded from 
parent loader
[taskdef] [DEBUG] Class java.lang.NoClassDefFoundError loaded from 
parent loader
[taskdef] [DEBUG] Class java.util.List loaded from parent loader
[taskdef] [DEBUG] Class java.lang.InstantiationException loaded from 
parent loader
[taskdef] [DEBUG] Class java.lang.IllegalAccessException loaded from 
parent loader
[taskdef] [DEBUG] Finding class xdoclet.SubTask
[taskdef] [DEBUG] Finding class xdoclet.DocletSupport
[taskdef] [DEBUG] Class xdoclet.DocletSupport loaded from ant loader
[taskdef] [DEBUG] Class xdoclet.SubTask loaded from ant loader
[taskdef] [DEBUG] Finding class xdoclet.TemplateSubTask
[taskdef] [DEBUG] Class xdoclet.TemplateSubTask loaded from ant loader
[taskdef] [DEBUG] Finding class xdoclet.XmlSubTask
[taskdef] [DEBUG] Class xdoclet.XmlSubTask loaded from ant loader
[taskdef] [DEBUG] Finding class xdoclet.XDocletException
[taskdef] [DEBUG] Finding class xdoclet.template.TemplateException
[taskdef] [DEBUG] Class java.lang.Exception loaded from parent loader
[taskdef] [DEBUG] Class xdoclet.template.TemplateException loaded from 
ant loader
[taskdef] [DEBUG] Class xdoclet.XDocletException loaded from ant 
loader
[taskdef] [DEBUG] Class java.lang.ClassCastException loaded from 
parent loader
[taskdef] [DEBUG]  +User task: webdoclet 
xdocle

Re: Maven 2

2005-04-08 Thread John Casey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

I tried to reply to your query on IRC, but I guess I was too late. So,
I'll re-reply here. :)

Ilyevsky, Leonid (Equity Trading) wrote:
> I got maven2 today, and I am eager to start. Two main problems right in
> the beginning:
> 
> 1. Where do I specify my web proxy ? Obviously maven2 does not use
> build.properties anymore.

Specify a file called ~/.m2/settings.xml (in .m2 under your user-home
directory) with something similar to:


  

  true
  /path/to/local/repo

  

  
  

  true
  http
  http://proxy.somewhere.com
  80
  proxyuser
  somepassword
  www.google.com,*.somewhere.com

  


That first part is unrelated to the proxy, but it's useful for
determining where the local repository is stored. The second part
reveals password management which leaves something to be desired without
doubt...but we have plans to improve that stuff in subsequent releases.

> 
> 2. On maven2 webpage they suggest to consult documentation frequently.
> Where is documentation anyway? I couldn't find it. If I looked at
> documentation, I probably wouldn't have the problem #1.

http://maven.apache.org/maven2

We'll be adding documentation there as Maven 2.0 matures, so keep
watching that space!

> 
> Please help. I cannot do anything without proxy settings.
> 
> 
> If you are not an intended recipient of this e-mail, please notify the 
> sender, delete it and do not read, act upon, print, disclose, copy, retain or 
> redistribute it. Click here for important additional terms relating to this 
> e-mail. http://www.ml.com/email_terms/
> 
> 

Hope that helps,

John
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFCVt0AK3h2CZwO/4URAvfjAJ9K1Jn2hwTfCtniAdnPwZIierZNMwCggpQg
E8Xi+I5Tt605kKeEZH9lobg=
=UMUR
-END PGP SIGNATURE-

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



Maven 2

2005-04-08 Thread Ilyevsky, Leonid (Equity Trading)
I got maven2 today, and I am eager to start. Two main problems right in
the beginning:

1. Where do I specify my web proxy ? Obviously maven2 does not use
build.properties anymore.

2. On maven2 webpage they suggest to consult documentation frequently.
Where is documentation anyway? I couldn't find it. If I looked at
documentation, I probably wouldn't have the problem #1.

Please help. I cannot do anything without proxy settings.


If you are not an intended recipient of this e-mail, please notify the sender, 
delete it and do not read, act upon, print, disclose, copy, retain or 
redistribute it. Click here for important additional terms relating to this 
e-mail. http://www.ml.com/email_terms/



a practical multiproject build

2005-04-08 Thread Durham David R Jr Contr 805 CSPTS/SCE
I've been working with multiproject for a couple of days, so while I'm
not exactly an expert, I feel reasonably confident with the following
questions.

Basically, I'd like to end up with 1 step to deploying only changes to a
web application.  Here's my directory structure:

/project
/application
project.xml
...
/webClient
project.xml
...
project.xml
  ...


As I understand it, I need to run multiproject:something from the
/project directory, to "build" the multiproject.  Then, I'd like to run
jboss:deploy-exploded-warfile from the /webClient directory.  How can I
bundle all of this into one goal within /project/maven.xml?  Something
like:

The other thing I'm wondering is how manage the dependencies as
SNAPSHOTs.  For instance, since /webClient depends on /application, I'm
guessing that I should have something like this in
/webClient/project.xml:


project
application
SNAPSHOT
jar

true





And in /application/project.xml:

SNAPSHOT


Additionally, /webClient/project.xml has:

SNAPSHOT

Then, when I cut a release, I would replace SNAPSHOT with whatever
version I'm releasing.

Since I'll be actively developing both modules at once, they should be
SNAPSHOTs right?  Currently, I'm having difficulty getting multiproject
to handle SNAPSHOT dependencies.  It always tries to get the dependency
from the remote repository despite the fact that the project SNAPSHOT is
part of the multiproject.

Does this make sense?


Thanks,


Dave








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



'maven.repo.local' not honored by all

2005-04-08 Thread Jamie Bisotti
In my project.properties file, I set
maven.repo.local=C:\blah\repository.  I then proceeded to blow away
%HOMEDRIVE%%HOMEPATH%\.maven\repository.  Then I ran maven
java:compile.  I see where it downloads my project;s dependencies, and
it places them in the appropriate local repository location.  However,
it also downloads commons-lang, antlr & commons-jelly-tags-antlr,
which I'm assuming Maven is using under the covers.  That wouldn't be
a problem, except they are still being put in
%HOMEDRIVE%%HOMEPATH%\.maven\repository.  Am I missing some other
property, or is this a bug?
-- 
Jamie

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



Re: Howto add a menu after development process?

2005-04-08 Thread Eric Giguere
Hello
Took a long time to answer but had to try it first :).
You have to modify the navigation.jelly file from the plugin-resources 
of the xdoc plugin. Near the end of the file, you will see the code that 
acutally add the Development process item. Add your item there. But of 
course, this addition will affect every project you have since the 
plugin's code is modified.

Hope it helps
Eric.
Thomas Michel wrote:
Hi,
i would like to add a menu after the item "development process" in the
navigation menu.
How can i do this?
All menu items defined in my navigation.xml are arranged above the project
documentation area.
Thanks for answer and sorry for my english.
Bye Thomas

-
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 2.0 Technology Preview release

2005-04-08 Thread Brett Porter
The first Maven 2.0 Technology Preview release is now out.

http://maven.apache.org/maven2/index.html

We're looking forward to hearing your feedback, ideas, and (to a lesser
extent :) bug reports.

If you need help with the release, please consult the documentation
frequently as we continue to update it, and subscribe to the
users@maven.apache.org mailing list. For more information, please see
http://maven.apache.org/maven2/about.html#get-help

We welcome contributors to the Maven project - if you are interested in
helping out, please see
http://maven.apache.org/maven2/about.html#get-involved

Thanks to everyone who has worked on this release!

-- The Apache Maven Team

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



Re: muliproject

2005-04-08 Thread Haryon
Well what do you mean with running maven.xml and project.xml files ?

maven.xml just declare new 'commands' (goals).

Do you mean that building A requires that you first did build B with a
specific goal of yours, and build C requires another specific goal of
yours not the same as for B ?

I guess you could add to each project maven.xml a new goal (called
homemade:buildme for example) that would . Then you could multiproject run the
homemade:buildme goal on all your projects ?

Else you can write your own build-all goal in maven.xml of your A
project, that would use the Reactor to run goals on the other projects
(not sure exactly how to do it, but multiproject is just simplified
calls to  power).

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



Re: muliproject

2005-04-08 Thread Bahaa Nasrallah
Thanks,
But on this link i cannont find how run the maven.xml files of B and C
it is only described how to run the project.xml files.

Regards

On Apr 8, 2005 3:17 PM, Siegfried Goeschl <[EMAIL PROTECTED]> wrote:
> http://maven.apache.org/using/multiproject.html
> 
> Bahaa Nasrallah wrote:
> 
> >Hi,
> >I have three projects A,B,C. A depends on B and C ( B and C dont
> >depend on each other).
> >A,B,C have each own :
> >project.xml
> >maven.xml
> >project.properties
> >
> >i need when running maven.xml of A to run maven.xml of B and maven.xml on C
> >how the way to do it?
> >
> >Thanks in advance,
> >Bahaa
> >
> >-
> >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: Getting maven to read additional properties files

2005-04-08 Thread Jamie Bisotti
Where should this line go?

Jamie

>Doesn't the  task work?


>On Wed, 19 Jan 2005 12:59:25 -0800, Todd Huss <[EMAIL PROTECTED]> wrote:
>> I keep my database properties separate in a database.properties file. This
>> works fine with hibernate because in project.properties I can do:
>> 
>> # Database/hibernate properties
>> maven.hibernate.properties=database.properties
>> 
>> However, I would like to have dbunit use the same connection information
>> from database.properties. Is there any way to get maven to make
>> database.properties available within project.properties so I can access them
>> as follows:
>> 
>> # DBUnit properties
>> maven.dbunit.driverClassName=${hibernate.connection.driver_class}
>> maven.dbunit.url=${hibernate.connection.url}
>> maven.dbunit.user=${hibernate.connection.username}
>> maven.dbunit.password=${hibernate.connection.password}
>> 
>> Thanks,
>> Todd

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



Re: muliproject

2005-04-08 Thread Siegfried Goeschl
http://maven.apache.org/using/multiproject.html
Bahaa Nasrallah wrote:
Hi,
I have three projects A,B,C. A depends on B and C ( B and C dont
depend on each other).
A,B,C have each own : 
project.xml
maven.xml
project.properties

i need when running maven.xml of A to run maven.xml of B and maven.xml on C
how the way to do it?
Thanks in advance,
Bahaa
-
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: Getting changelog to work

2005-04-08 Thread Siegfried Goeschl
Hi Frank,
I'm not sure why you tinker with CVS directories by deleting them but
+) I assume that you are using a reactor build
+) the CVS reports should be created per project, i.e. you have to 
define a generic configuration in your master POM using 
:${pom.artifactId} or plainly overwrite the connection setting for each 
subproejct
+) I assume that the behaviour of the plugin is undefined if no CVS 
metadata are found

Cheers,
Siegfried Goeschl
Frank Verbruggen wrote:
How can u explain the following:
to check this all I have checked in a very early version of my app 
from the client station (using WSAD)
And it generated a VERY VERY SMALL changelog (only 1 change logged)
Now consider the following structure:

c
   Calculator
  project.xml
  maven.xml
  project.properties
  CalculatorLogic
 project.xml
 propject.properties
 CVS
When I do the checkout in this structure the changelog gets generated,
but only for the base directory ( which is 
C:\calculator\calculatorlogic\checkouts\calculatorlogic) ,
BUT when I remove the CVS directory directly below de CalculatorLogic 
directory,
I get NO change report.

How can this be ???
Siegfried Goeschl wrote:
Hi Frank,
I think you might be on the wrong track - determining the changes 
involves retrieving and parsing the changelog from the remote CVS 
server. It has nothing whatsoever to do with the uncommitted changes 
in your development sandbox... ;-)

Cheers,
Siegfried Goeschl
Frank Verbruggen wrote:
I think I uncovered the problem:
First I do the checkout, which overwrites all files by first 
deleting the checkout directory.
Then I create the jars (nothing important)
THEN I generate the changelog, thus comparing my checkouts directory 
with the same version as the version I just checked out, this gives 
NO changes.
Any good idea's if this is true, and if I can fix this ? (if so, how ?)

Cheers
Frank Verbruggen
Milos Kleint wrote:
with cvsnt it should be no problem on windows either. (i've setup 
one server like that 1 or 2 years ago)

http://www.cvsnt.org
Regards
Milos
Siegfried Goeschl wrote:
Hi Frank,
follow the blessed way of putting a CVS Server on a LINUX box. 
Four years ago I tried it with Windows but it didn't work properly 
...

On the website of Java User Group Austria you find 
http://www.javausergroup.at/events/cvs%20intro.pdf some background 
infos on installing it on a Unix box

Cheers,
Siegfried Goeschl
Frank Verbruggen wrote:
So what can I do to make it all work ?
Thx in advance
Frank Verbruggen
Milos Kleint wrote:

Siegfried Goeschl wrote:
Hi Frank,
+) I'm not sure if the syntax correct - you are using "|" 
instead of ":" (might be a mail problem though)
+) the current version of Maven don't use the native cvs client 
but a Java library - there is a goal to add your CVS password 
(I have forgotten it)
+) last but not least are you using a file-based CVS repo under 
Windows - I suggest using a CVS server to be on the safe side

most probably the issue here. AFAIK changelog uses the cvs 
*client* library from netbeans.org which is jut a pserver 
client. local cvs repository doesn't use pserver protocol, thus 
it won't work.

regards
Milos Kleint

Cheers,
Siegfried Goeschl
Frank Verbruggen wrote:
Hi Maven development team,
my name is Frank Verbruggen, and I'm currently involved in 
introducing 'your' tool Maven at a major bank from the 
Netherlands (it is called SNS Bank).
We have almost succesfully incorporated everything, but there 
is just one problem:

we can't get the changelog, file activity and developer 
activity plugins to generate rapports that actually contain 
changes (ie. it always states no changes have occurred).

The directory layout is as follows:
+ C  [root]
 |
 + CVS  [dir]
 |
 + Calculator   [dir]
   |
   + project.xml [file1]
   |
   + project.properties  [file2]
   |
   + maven.xml   [file3]
   |
   + Calculator_Domeinlaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml   [file4]
   | |
   | + project.properties[file5]
   |
   + Calculator_Servicelaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml  [like file4]
   | |
   | + project.properties   [like file5]
   |
   |
   + Calculator_Presentatielaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml  [like file4]
   | |
   | + project.properties   [like file5]
FILE LISTINGS
_
[file1]
_


  3
  Calculator
  1.0
  Calculator Demonstration Application
  
  
 Solidium Group B.V.
 http://www.solidium.nl
 
http://www.solidium.nl/folder1/images/solidium-opzet_02.jpg 

  
  2005
  calculator.*
  This application is specifical

muliproject

2005-04-08 Thread Bahaa Nasrallah
Hi,
I have three projects A,B,C. A depends on B and C ( B and C dont
depend on each other).
A,B,C have each own : 
project.xml
maven.xml
project.properties

i need when running maven.xml of A to run maven.xml of B and maven.xml on C
how the way to do it?

Thanks in advance,
Bahaa

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



Using ant-plugin in maven?

2005-04-08 Thread Michael Holtermann
Hi!

I'd like to use an ant-plugin in a maven-project (WOProject,
www.objectstyle.org).

Is this possible and a howto or something else available?

Thanks!
Grretings, Michael.



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



Re: Getting changelog to work

2005-04-08 Thread Frank Verbruggen
How can u explain the following:
to check this all I have checked in a very early version of my app from 
the client station (using WSAD)
And it generated a VERY VERY SMALL changelog (only 1 change logged)
Now consider the following structure:

c
   Calculator
  project.xml
  maven.xml
  project.properties
  CalculatorLogic
 project.xml
 propject.properties
 CVS
When I do the checkout in this structure the changelog gets generated,
but only for the base directory ( which is 
C:\calculator\calculatorlogic\checkouts\calculatorlogic) ,
BUT when I remove the CVS directory directly below de CalculatorLogic 
directory,
I get NO change report.

How can this be ???
Siegfried Goeschl wrote:
Hi Frank,
I think you might be on the wrong track - determining the changes 
involves retrieving and parsing the changelog from the remote CVS 
server. It has nothing whatsoever to do with the uncommitted changes 
in your development sandbox... ;-)

Cheers,
Siegfried Goeschl
Frank Verbruggen wrote:
I think I uncovered the problem:
First I do the checkout, which overwrites all files by first deleting 
the checkout directory.
Then I create the jars (nothing important)
THEN I generate the changelog, thus comparing my checkouts directory 
with the same version as the version I just checked out, this gives 
NO changes.
Any good idea's if this is true, and if I can fix this ? (if so, how ?)

Cheers
Frank Verbruggen
Milos Kleint wrote:
with cvsnt it should be no problem on windows either. (i've setup 
one server like that 1 or 2 years ago)

http://www.cvsnt.org
Regards
Milos
Siegfried Goeschl wrote:
Hi Frank,
follow the blessed way of putting a CVS Server on a LINUX box. Four 
years ago I tried it with Windows but it didn't work properly ...

On the website of Java User Group Austria you find 
http://www.javausergroup.at/events/cvs%20intro.pdf some background 
infos on installing it on a Unix box

Cheers,
Siegfried Goeschl
Frank Verbruggen wrote:
So what can I do to make it all work ?
Thx in advance
Frank Verbruggen
Milos Kleint wrote:

Siegfried Goeschl wrote:
Hi Frank,
+) I'm not sure if the syntax correct - you are using "|" 
instead of ":" (might be a mail problem though)
+) the current version of Maven don't use the native cvs client 
but a Java library - there is a goal to add your CVS password (I 
have forgotten it)
+) last but not least are you using a file-based CVS repo under 
Windows - I suggest using a CVS server to be on the safe side

most probably the issue here. AFAIK changelog uses the cvs 
*client* library from netbeans.org which is jut a pserver client. 
local cvs repository doesn't use pserver protocol, thus it won't 
work.

regards
Milos Kleint

Cheers,
Siegfried Goeschl
Frank Verbruggen wrote:
Hi Maven development team,
my name is Frank Verbruggen, and I'm currently involved in 
introducing 'your' tool Maven at a major bank from the 
Netherlands (it is called SNS Bank).
We have almost succesfully incorporated everything, but there 
is just one problem:

we can't get the changelog, file activity and developer 
activity plugins to generate rapports that actually contain 
changes (ie. it always states no changes have occurred).

The directory layout is as follows:
+ C  [root]
 |
 + CVS  [dir]
 |
 + Calculator   [dir]
   |
   + project.xml [file1]
   |
   + project.properties  [file2]
   |
   + maven.xml   [file3]
   |
   + Calculator_Domeinlaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml   [file4]
   | |
   | + project.properties[file5]
   |
   + Calculator_Servicelaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml  [like file4]
   | |
   | + project.properties   [like file5]
   |
   |
   + Calculator_Presentatielaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml  [like file4]
   | |
   | + project.properties   [like file5]
FILE LISTINGS
_
[file1]
_


  3
  Calculator
  1.0
  Calculator Demonstration Application
  
  
 Solidium Group B.V.
 http://www.solidium.nl
 
http://www.solidium.nl/folder1/images/solidium-opzet_02.jpg 

  
  2005
  calculator.*
  This application is specifically designed to 
show users the full potential of the "Soldium Ontwikkelstraat".
   It gives a full application supporting most features 
also supported in major applications.
   Also, it combines several features of the tools 
incorporated in the "Solidium Onwikkelstraat", such as:
   Maven, CVS, CruiseControl, Checkstyle, JCoverage, JUnit, 
PMD and many more.
   Specifically for managerial information, the application 
has been carefully released into the

Re: Firebird DB/Jaybird JDBC Driver

2005-04-08 Thread Jamie Bisotti
Yes, I realize those are my options (I'm currently doing the latter). 
I just found it hard to believe no one had already requested the
driver be put on Ibiblio.

Thanks,
   Jamie

On Apr 7, 2005 5:27 PM, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> Jamie Bisotti wrote:
> 
> >Our project is using Firebird DB and its Jaybird JDBC driver.  I can't
> >seem to find Jaybird on Ibiblio; nor any mention of Maven/Jaybird in
> >either projects mailing lists.  Is anyone using Maven with
> >Firebird/Jaybird?  If so, how are you handling the dependency?
> >
> >
> I don't use firebird, or jaybird, but you have two options: request the
> project to create an upload request for ibiblio, so the jar is hosted
> there
> 
> Or... put the jar in your local repo yourself.
> 
> Martijn
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
Jamie

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



Re: Getting changelog to work

2005-04-08 Thread Milos Kleint
Frank Verbruggen wrote:
I think I uncovered the problem:
First I do the checkout, which overwrites all files by first deleting 
the checkout directory.
Then I create the jars (nothing important)
THEN I generate the changelog, thus comparing my checkouts directory 
with the same version as the version I just checked out, this gives NO 
changes.
Any good idea's if this is true, and if I can fix this ? (if so, how ?)

not really. AFAIK changelog is generated by cvs log or cvs rlog 
commands. The currently checked out file structures has almost no 
influence on that. (Well, it does have some influence on log but that's 
more detailed discussion than necessary in this case)

Regards
Milos Kleint
PS: I've co-written the netbeans cvs client library back in 2000-2002. I 
don't remember much already, but I'm quite convinced about this 
particular case.

Cheers
Frank Verbruggen
Milos Kleint wrote:
with cvsnt it should be no problem on windows either. (i've setup one 
server like that 1 or 2 years ago)

http://www.cvsnt.org
Regards
Milos
Siegfried Goeschl wrote:
Hi Frank,
follow the blessed way of putting a CVS Server on a LINUX box. Four 
years ago I tried it with Windows but it didn't work properly ...

On the website of Java User Group Austria you find 
http://www.javausergroup.at/events/cvs%20intro.pdf some background 
infos on installing it on a Unix box

Cheers,
Siegfried Goeschl
Frank Verbruggen wrote:
So what can I do to make it all work ?
Thx in advance
Frank Verbruggen
Milos Kleint wrote:

Siegfried Goeschl wrote:
Hi Frank,
+) I'm not sure if the syntax correct - you are using "|" instead 
of ":" (might be a mail problem though)
+) the current version of Maven don't use the native cvs client 
but a Java library - there is a goal to add your CVS password (I 
have forgotten it)
+) last but not least are you using a file-based CVS repo under 
Windows - I suggest using a CVS server to be on the safe side

most probably the issue here. AFAIK changelog uses the cvs 
*client* library from netbeans.org which is jut a pserver client. 
local cvs repository doesn't use pserver protocol, thus it won't 
work.

regards
Milos Kleint

Cheers,
Siegfried Goeschl
Frank Verbruggen wrote:
Hi Maven development team,
my name is Frank Verbruggen, and I'm currently involved in 
introducing 'your' tool Maven at a major bank from the 
Netherlands (it is called SNS Bank).
We have almost succesfully incorporated everything, but there is 
just one problem:

we can't get the changelog, file activity and developer activity 
plugins to generate rapports that actually contain changes (ie. 
it always states no changes have occurred).

The directory layout is as follows:
+ C  [root]
 |
 + CVS  [dir]
 |
 + Calculator   [dir]
   |
   + project.xml [file1]
   |
   + project.properties  [file2]
   |
   + maven.xml   [file3]
   |
   + Calculator_Domeinlaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml   [file4]
   | |
   | + project.properties[file5]
   |
   + Calculator_Servicelaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml  [like file4]
   | |
   | + project.properties   [like file5]
   |
   |
   + Calculator_Presentatielaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml  [like file4]
   | |
   | + project.properties   [like file5]
FILE LISTINGS
_
[file1]
_


  3
  Calculator
  1.0
  Calculator Demonstration Application
  
  
 Solidium Group B.V.
 http://www.solidium.nl
 
http://www.solidium.nl/folder1/images/solidium-opzet_02.jpg 

  
  2005
  calculator.*
  This application is specifically designed to show 
users the full potential of the "Soldium Ontwikkelstraat".
   It gives a full application supporting most features also 
supported in major applications.
   Also, it combines several features of the tools 
incorporated in the "Solidium Onwikkelstraat", such as:
   Maven, CVS, CruiseControl, Checkstyle, JCoverage, JUnit, 
PMD and many more.
   Specifically for managerial information, the application 
has been carefully released into the CVS.
   This application is also very suitable for workshop 
support, and other related presentations.
 Application description:
   This app is a calculator.
   It supports addition, substraction, multiplication and 
dividing.
   Also the button captions are configured in a separate 
file called: "keyconfig.txt".
   It supports full MVC and has a logical separation between 
program logic and calculation logic.
   This logical separation is specifically included to model 
the dependencies within WSAD projects.
  Calculator Demo

Re: Getting changelog to work

2005-04-08 Thread Siegfried Goeschl
Hi Frank,
I think you might be on the wrong track - determining the changes 
involves retrieving and parsing the changelog from the remote CVS 
server. It has nothing whatsoever to do with the uncommitted changes in 
your development sandbox... ;-)

Cheers,
Siegfried Goeschl
Frank Verbruggen wrote:
I think I uncovered the problem:
First I do the checkout, which overwrites all files by first deleting 
the checkout directory.
Then I create the jars (nothing important)
THEN I generate the changelog, thus comparing my checkouts directory 
with the same version as the version I just checked out, this gives NO 
changes.
Any good idea's if this is true, and if I can fix this ? (if so, how ?)

Cheers
Frank Verbruggen
Milos Kleint wrote:
with cvsnt it should be no problem on windows either. (i've setup one 
server like that 1 or 2 years ago)

http://www.cvsnt.org
Regards
Milos
Siegfried Goeschl wrote:
Hi Frank,
follow the blessed way of putting a CVS Server on a LINUX box. Four 
years ago I tried it with Windows but it didn't work properly ...

On the website of Java User Group Austria you find 
http://www.javausergroup.at/events/cvs%20intro.pdf some background 
infos on installing it on a Unix box

Cheers,
Siegfried Goeschl
Frank Verbruggen wrote:
So what can I do to make it all work ?
Thx in advance
Frank Verbruggen
Milos Kleint wrote:

Siegfried Goeschl wrote:
Hi Frank,
+) I'm not sure if the syntax correct - you are using "|" instead 
of ":" (might be a mail problem though)
+) the current version of Maven don't use the native cvs client 
but a Java library - there is a goal to add your CVS password (I 
have forgotten it)
+) last but not least are you using a file-based CVS repo under 
Windows - I suggest using a CVS server to be on the safe side

most probably the issue here. AFAIK changelog uses the cvs 
*client* library from netbeans.org which is jut a pserver client. 
local cvs repository doesn't use pserver protocol, thus it won't 
work.

regards
Milos Kleint

Cheers,
Siegfried Goeschl
Frank Verbruggen wrote:
Hi Maven development team,
my name is Frank Verbruggen, and I'm currently involved in 
introducing 'your' tool Maven at a major bank from the 
Netherlands (it is called SNS Bank).
We have almost succesfully incorporated everything, but there is 
just one problem:

we can't get the changelog, file activity and developer activity 
plugins to generate rapports that actually contain changes (ie. 
it always states no changes have occurred).

The directory layout is as follows:
+ C  [root]
 |
 + CVS  [dir]
 |
 + Calculator   [dir]
   |
   + project.xml [file1]
   |
   + project.properties  [file2]
   |
   + maven.xml   [file3]
   |
   + Calculator_Domeinlaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml   [file4]
   | |
   | + project.properties[file5]
   |
   + Calculator_Servicelaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml  [like file4]
   | |
   | + project.properties   [like file5]
   |
   |
   + Calculator_Presentatielaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml  [like file4]
   | |
   | + project.properties   [like file5]
FILE LISTINGS
_
[file1]
_


  3
  Calculator
  1.0
  Calculator Demonstration Application
  
  
 Solidium Group B.V.
 http://www.solidium.nl
 
http://www.solidium.nl/folder1/images/solidium-opzet_02.jpg 

  
  2005
  calculator.*
  This application is specifically designed to show 
users the full potential of the "Soldium Ontwikkelstraat".
   It gives a full application supporting most features also 
supported in major applications.
   Also, it combines several features of the tools 
incorporated in the "Solidium Onwikkelstraat", such as:
   Maven, CVS, CruiseControl, Checkstyle, JCoverage, JUnit, 
PMD and many more.
   Specifically for managerial information, the application 
has been carefully released into the CVS.
   This application is also very suitable for workshop 
support, and other related presentations.
 Application description:
   This app is a calculator.
   It supports addition, substraction, multiplication and 
dividing.
   Also the button captions are configured in a separate 
file called: "keyconfig.txt".
   It supports full MVC and has a logical separation between 
program logic and calculation logic.
   This logical separation is specifically included to model 
the dependencies within WSAD projects.
  Calculator Demonstration 
Application
  C:/Calculator/CalculatorSite

  
 
Frank Verbruggen
verfra
[EMAIL PROTECTED]
 
  
  
 
scm|cvs|pserve

Re: Getting changelog to work

2005-04-08 Thread Frank Verbruggen
I think I uncovered the problem:
First I do the checkout, which overwrites all files by first deleting 
the checkout directory.
Then I create the jars (nothing important)
THEN I generate the changelog, thus comparing my checkouts directory 
with the same version as the version I just checked out, this gives NO 
changes.
Any good idea's if this is true, and if I can fix this ? (if so, how ?)

Cheers
Frank Verbruggen
Milos Kleint wrote:
with cvsnt it should be no problem on windows either. (i've setup one 
server like that 1 or 2 years ago)

http://www.cvsnt.org
Regards
Milos
Siegfried Goeschl wrote:
Hi Frank,
follow the blessed way of putting a CVS Server on a LINUX box. Four 
years ago I tried it with Windows but it didn't work properly ...

On the website of Java User Group Austria you find 
http://www.javausergroup.at/events/cvs%20intro.pdf some background 
infos on installing it on a Unix box

Cheers,
Siegfried Goeschl
Frank Verbruggen wrote:
So what can I do to make it all work ?
Thx in advance
Frank Verbruggen
Milos Kleint wrote:

Siegfried Goeschl wrote:
Hi Frank,
+) I'm not sure if the syntax correct - you are using "|" instead 
of ":" (might be a mail problem though)
+) the current version of Maven don't use the native cvs client 
but a Java library - there is a goal to add your CVS password (I 
have forgotten it)
+) last but not least are you using a file-based CVS repo under 
Windows - I suggest using a CVS server to be on the safe side

most probably the issue here. AFAIK changelog uses the cvs *client* 
library from netbeans.org which is jut a pserver client. local cvs 
repository doesn't use pserver protocol, thus it won't work.

regards
Milos Kleint

Cheers,
Siegfried Goeschl
Frank Verbruggen wrote:
Hi Maven development team,
my name is Frank Verbruggen, and I'm currently involved in 
introducing 'your' tool Maven at a major bank from the 
Netherlands (it is called SNS Bank).
We have almost succesfully incorporated everything, but there is 
just one problem:

we can't get the changelog, file activity and developer activity 
plugins to generate rapports that actually contain changes (ie. 
it always states no changes have occurred).

The directory layout is as follows:
+ C  [root]
 |
 + CVS  [dir]
 |
 + Calculator   [dir]
   |
   + project.xml [file1]
   |
   + project.properties  [file2]
   |
   + maven.xml   [file3]
   |
   + Calculator_Domeinlaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml   [file4]
   | |
   | + project.properties[file5]
   |
   + Calculator_Servicelaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml  [like file4]
   | |
   | + project.properties   [like file5]
   |
   |
   + Calculator_Presentatielaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml  [like file4]
   | |
   | + project.properties   [like file5]
FILE LISTINGS
_
[file1]
_


  3
  Calculator
  1.0
  Calculator Demonstration Application
  
  
 Solidium Group B.V.
 http://www.solidium.nl
 
http://www.solidium.nl/folder1/images/solidium-opzet_02.jpg 

  
  2005
  calculator.*
  This application is specifically designed to show 
users the full potential of the "Soldium Ontwikkelstraat".
   It gives a full application supporting most features also 
supported in major applications.
   Also, it combines several features of the tools 
incorporated in the "Solidium Onwikkelstraat", such as:
   Maven, CVS, CruiseControl, Checkstyle, JCoverage, JUnit, 
PMD and many more.
   Specifically for managerial information, the application 
has been carefully released into the CVS.
   This application is also very suitable for workshop 
support, and other related presentations.
 Application description:
   This app is a calculator.
   It supports addition, substraction, multiplication and 
dividing.
   Also the button captions are configured in a separate file 
called: "keyconfig.txt".
   It supports full MVC and has a logical separation between 
program logic and calculation logic.
   This logical separation is specifically included to model 
the dependencies within WSAD projects.
  Calculator Demonstration 
Application
  C:/Calculator/CalculatorSite

  
 
Frank Verbruggen
verfra
[EMAIL PROTECTED]
 
  
  
 
scm|cvs|pserver|verfra:[EMAIL PROTECTED]|c:/cvs|${pom.artifactId} 

  
  
  
  
 [EMAIL PROTECTED]
 
${basedir}/checkouts/${pom.artifactId}/src 

 
${basedir}/checkouts/${pom.artifactId}/test 

  
  
  
 maven-changelog-plugin
 maven-file-activity-plugin
 maven-developer-activity-plugin
  

Re: Getting changelog to work

2005-04-08 Thread Milos Kleint
with cvsnt it should be no problem on windows either. (i've setup one 
server like that 1 or 2 years ago)

http://www.cvsnt.org
Regards
Milos
Siegfried Goeschl wrote:
Hi Frank,
follow the blessed way of putting a CVS Server on a LINUX box. Four 
years ago I tried it with Windows but it didn't work properly ...

On the website of Java User Group Austria you find 
http://www.javausergroup.at/events/cvs%20intro.pdf some background 
infos on installing it on a Unix box

Cheers,
Siegfried Goeschl
Frank Verbruggen wrote:
So what can I do to make it all work ?
Thx in advance
Frank Verbruggen
Milos Kleint wrote:

Siegfried Goeschl wrote:
Hi Frank,
+) I'm not sure if the syntax correct - you are using "|" instead 
of ":" (might be a mail problem though)
+) the current version of Maven don't use the native cvs client but 
a Java library - there is a goal to add your CVS password (I have 
forgotten it)
+) last but not least are you using a file-based CVS repo under 
Windows - I suggest using a CVS server to be on the safe side

most probably the issue here. AFAIK changelog uses the cvs *client* 
library from netbeans.org which is jut a pserver client. local cvs 
repository doesn't use pserver protocol, thus it won't work.

regards
Milos Kleint

Cheers,
Siegfried Goeschl
Frank Verbruggen wrote:
Hi Maven development team,
my name is Frank Verbruggen, and I'm currently involved in 
introducing 'your' tool Maven at a major bank from the Netherlands 
(it is called SNS Bank).
We have almost succesfully incorporated everything, but there is 
just one problem:

we can't get the changelog, file activity and developer activity 
plugins to generate rapports that actually contain changes (ie. it 
always states no changes have occurred).

The directory layout is as follows:
+ C  [root]
 |
 + CVS  [dir]
 |
 + Calculator   [dir]
   |
   + project.xml [file1]
   |
   + project.properties  [file2]
   |
   + maven.xml   [file3]
   |
   + Calculator_Domeinlaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml   [file4]
   | |
   | + project.properties[file5]
   |
   + Calculator_Servicelaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml  [like file4]
   | |
   | + project.properties   [like file5]
   |
   |
   + Calculator_Presentatielaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml  [like file4]
   | |
   | + project.properties   [like file5]
FILE LISTINGS
_
[file1]
_


  3
  Calculator
  1.0
  Calculator Demonstration Application
  
  
 Solidium Group B.V.
 http://www.solidium.nl
 
http://www.solidium.nl/folder1/images/solidium-opzet_02.jpg 

  
  2005
  calculator.*
  This application is specifically designed to show 
users the full potential of the "Soldium Ontwikkelstraat".
   It gives a full application supporting most features also 
supported in major applications.
   Also, it combines several features of the tools 
incorporated in the "Solidium Onwikkelstraat", such as:
   Maven, CVS, CruiseControl, Checkstyle, JCoverage, JUnit, 
PMD and many more.
   Specifically for managerial information, the application 
has been carefully released into the CVS.
   This application is also very suitable for workshop 
support, and other related presentations.
 Application description:
   This app is a calculator.
   It supports addition, substraction, multiplication and 
dividing.
   Also the button captions are configured in a separate file 
called: "keyconfig.txt".
   It supports full MVC and has a logical separation between 
program logic and calculation logic.
   This logical separation is specifically included to model 
the dependencies within WSAD projects.
  Calculator Demonstration 
Application
  C:/Calculator/CalculatorSite

  
 
Frank Verbruggen
verfra
[EMAIL PROTECTED]
 
  
  
 
scm|cvs|pserver|verfra:[EMAIL PROTECTED]|c:/cvs|${pom.artifactId} 

  
  
  
  
 [EMAIL PROTECTED]
 
${basedir}/checkouts/${pom.artifactId}/src 

 
${basedir}/checkouts/${pom.artifactId}/test 

  
  
  
 maven-changelog-plugin
 maven-file-activity-plugin
 maven-developer-activity-plugin
  

__ 

[file2]
__ 

# Proxy settings.
maven.proxy.host = THULIUM
maven.proxy.port = 8080
maven.proxy.username = verfra
# Continue generation of reports on test failures.
maven.test.failure.ignore=true
# Tasklist tag.
[EMAIL PROTECTED]
# Don't include reports for parent in overview.
maven.xdoc.includePro

SCM suppress checkout dir deletion

2005-04-08 Thread Frank Verbruggen
How can I suppress deletion of the checkout directory when checking out 
of CVS with the SCM plugin

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


timeout-property for maven-test-plugin?

2005-04-08 Thread Jan Rudert
Hi there,

I've got a question that couldn't be answered after strong research on the
net/this mailing-kist:

Is there a way to somehow set a timeout for junit tests within the
maven-test-plugin? something like "maven.junit.timout" would be nice. but it
doesn't exist. is there another way to tell him how long he should wait for
test to complete? I know that in the junit.properties-file you can set
"junit.timout", but the file automatically created in this case, i think?

Any Idea? I would thank you very very much

Jan Rudert

Jan Rudert neofonie GmbHTel.:+49(0)30 246 27 352
Softwareentwickler Robert-Koch-Platz 4  Fax.:+49(0)30 246 27 120
[EMAIL PROTECTED]   10115 Berlin
 



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



Re: Getting changelog to work

2005-04-08 Thread Siegfried Goeschl
Hi Frank,
follow the blessed way of putting a CVS Server on a LINUX box. Four 
years ago I tried it with Windows but it didn't work properly ...

On the website of Java User Group Austria you find 
http://www.javausergroup.at/events/cvs%20intro.pdf some background infos 
on installing it on a Unix box

Cheers,
Siegfried Goeschl
Frank Verbruggen wrote:
So what can I do to make it all work ?
Thx in advance
Frank Verbruggen
Milos Kleint wrote:

Siegfried Goeschl wrote:
Hi Frank,
+) I'm not sure if the syntax correct - you are using "|" instead of 
":" (might be a mail problem though)
+) the current version of Maven don't use the native cvs client but 
a Java library - there is a goal to add your CVS password (I have 
forgotten it)
+) last but not least are you using a file-based CVS repo under 
Windows - I suggest using a CVS server to be on the safe side

most probably the issue here. AFAIK changelog uses the cvs *client* 
library from netbeans.org which is jut a pserver client. local cvs 
repository doesn't use pserver protocol, thus it won't work.

regards
Milos Kleint

Cheers,
Siegfried Goeschl
Frank Verbruggen wrote:
Hi Maven development team,
my name is Frank Verbruggen, and I'm currently involved in 
introducing 'your' tool Maven at a major bank from the Netherlands 
(it is called SNS Bank).
We have almost succesfully incorporated everything, but there is 
just one problem:

we can't get the changelog, file activity and developer activity 
plugins to generate rapports that actually contain changes (ie. it 
always states no changes have occurred).

The directory layout is as follows:
+ C  [root]
 |
 + CVS  [dir]
 |
 + Calculator   [dir]
   |
   + project.xml [file1]
   |
   + project.properties  [file2]
   |
   + maven.xml   [file3]
   |
   + Calculator_Domeinlaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml   [file4]
   | |
   | + project.properties[file5]
   |
   + Calculator_Servicelaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml  [like file4]
   | |
   | + project.properties   [like file5]
   |
   |
   + Calculator_Presentatielaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml  [like file4]
   | |
   | + project.properties   [like file5]
FILE LISTINGS
_
[file1]
_


  3
  Calculator
  1.0
  Calculator Demonstration Application
  
  
 Solidium Group B.V.
 http://www.solidium.nl
 
http://www.solidium.nl/folder1/images/solidium-opzet_02.jpg 

  
  2005
  calculator.*
  This application is specifically designed to show 
users the full potential of the "Soldium Ontwikkelstraat".
   It gives a full application supporting most features also 
supported in major applications.
   Also, it combines several features of the tools incorporated 
in the "Solidium Onwikkelstraat", such as:
   Maven, CVS, CruiseControl, Checkstyle, JCoverage, JUnit, PMD 
and many more.
   Specifically for managerial information, the application has 
been carefully released into the CVS.
   This application is also very suitable for workshop support, 
and other related presentations.
 Application description:
   This app is a calculator.
   It supports addition, substraction, multiplication and 
dividing.
   Also the button captions are configured in a separate file 
called: "keyconfig.txt".
   It supports full MVC and has a logical separation between 
program logic and calculation logic.
   This logical separation is specifically included to model 
the dependencies within WSAD projects.
  Calculator Demonstration 
Application
  C:/Calculator/CalculatorSite

  
 
Frank Verbruggen
verfra
[EMAIL PROTECTED]
 
  
  
 
scm|cvs|pserver|verfra:[EMAIL PROTECTED]|c:/cvs|${pom.artifactId} 

  
  
  
  
 [EMAIL PROTECTED]
 
${basedir}/checkouts/${pom.artifactId}/src 

 
${basedir}/checkouts/${pom.artifactId}/test 

  
  
  
 maven-changelog-plugin
 maven-file-activity-plugin
 maven-developer-activity-plugin
  

__
[file2]
__
# Proxy settings.
maven.proxy.host = THULIUM
maven.proxy.port = 8080
maven.proxy.username = verfra
# Continue generation of reports on test failures.
maven.test.failure.ignore=true
# Tasklist tag.
[EMAIL PROTECTED]
# Don't include reports for parent in overview.
maven.xdoc.includeProjectDocumentation=no
# Multi project base directory.
maven.multiproject.overviewPage.title=Calculator
# Goals to execute.
goal=scm:checkout-project,jar:install
# Deploymen

Re: Instability calculation

2005-04-08 Thread Laurent PETIT
Siegfried Goeschl wrote:
I agree with you that it is odd but the instability is calulated using 
(Ce / (Ce + Ca). Since it is not used in your project Ca => 0 and 
therefore you get 1 showing up as 100% instability

Having said that I would not put too much weight on the metrics of 
JDepend since it is simply bean counting ... :-)
Hello,
Being "instable" or "stable" (in the definitions made by the Ce / (Ce + 
Ca) formula) is not a matter of "stable" is good, and "instable" is not 
good.

What's more important is that the direction of dependencies should 
follow the direction of the increase of stability. (A package should 
only depend upon more stable packages).

And instable packages may be good, as long as they are not too abstract 
=> this is the concept of "distance" which is to me a more interesting 
metric to take into account.

But I agree with Siegfried when he writes "I would not put too much 
weight on the metrics of JDepend since it is simply bean counting ..."

Metrics are a guidance.
They can help improve the design during a refactoring.
My 0.02 EUR,
--
Laurent Petit
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Getting changelog to work

2005-04-08 Thread Frank Verbruggen
So what can I do to make it all work ?
Thx in advance
Frank Verbruggen
Milos Kleint wrote:

Siegfried Goeschl wrote:
Hi Frank,
+) I'm not sure if the syntax correct - you are using "|" instead of 
":" (might be a mail problem though)
+) the current version of Maven don't use the native cvs client but a 
Java library - there is a goal to add your CVS password (I have 
forgotten it)
+) last but not least are you using a file-based CVS repo under 
Windows - I suggest using a CVS server to be on the safe side

most probably the issue here. AFAIK changelog uses the cvs *client* 
library from netbeans.org which is jut a pserver client. local cvs 
repository doesn't use pserver protocol, thus it won't work.

regards
Milos Kleint

Cheers,
Siegfried Goeschl
Frank Verbruggen wrote:
Hi Maven development team,
my name is Frank Verbruggen, and I'm currently involved in 
introducing 'your' tool Maven at a major bank from the Netherlands 
(it is called SNS Bank).
We have almost succesfully incorporated everything, but there is 
just one problem:

we can't get the changelog, file activity and developer activity 
plugins to generate rapports that actually contain changes (ie. it 
always states no changes have occurred).

The directory layout is as follows:
+ C  [root]
 |
 + CVS  [dir]
 |
 + Calculator   [dir]
   |
   + project.xml [file1]
   |
   + project.properties  [file2]
   |
   + maven.xml   [file3]
   |
   + Calculator_Domeinlaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml   [file4]
   | |
   | + project.properties[file5]
   |
   + Calculator_Servicelaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml  [like file4]
   | |
   | + project.properties   [like file5]
   |
   |
   + Calculator_Presentatielaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml  [like file4]
   | |
   | + project.properties   [like file5]
FILE LISTINGS
_
[file1]
_


  3
  Calculator
  1.0
  Calculator Demonstration Application
  
  
 Solidium Group B.V.
 http://www.solidium.nl
 
http://www.solidium.nl/folder1/images/solidium-opzet_02.jpg 

  
  2005
  calculator.*
  This application is specifically designed to show 
users the full potential of the "Soldium Ontwikkelstraat".
   It gives a full application supporting most features also 
supported in major applications.
   Also, it combines several features of the tools incorporated 
in the "Solidium Onwikkelstraat", such as:
   Maven, CVS, CruiseControl, Checkstyle, JCoverage, JUnit, PMD 
and many more.
   Specifically for managerial information, the application has 
been carefully released into the CVS.
   This application is also very suitable for workshop support, 
and other related presentations.
 Application description:
   This app is a calculator.
   It supports addition, substraction, multiplication and dividing.
   Also the button captions are configured in a separate file 
called: "keyconfig.txt".
   It supports full MVC and has a logical separation between 
program logic and calculation logic.
   This logical separation is specifically included to model the 
dependencies within WSAD projects.
  Calculator Demonstration 
Application
  C:/Calculator/CalculatorSite

  
 
Frank Verbruggen
verfra
[EMAIL PROTECTED]
 
  
  
 
scm|cvs|pserver|verfra:[EMAIL PROTECTED]|c:/cvs|${pom.artifactId} 

  
  
  
  
 [EMAIL PROTECTED]
 
${basedir}/checkouts/${pom.artifactId}/src 

 
${basedir}/checkouts/${pom.artifactId}/test 

  
  
  
 maven-changelog-plugin
 maven-file-activity-plugin
 maven-developer-activity-plugin
  

__
[file2]
__
# Proxy settings.
maven.proxy.host = THULIUM
maven.proxy.port = 8080
maven.proxy.username = verfra
# Continue generation of reports on test failures.
maven.test.failure.ignore=true
# Tasklist tag.
[EMAIL PROTECTED]
# Don't include reports for parent in overview.
maven.xdoc.includeProjectDocumentation=no
# Multi project base directory.
maven.multiproject.overviewPage.title=Calculator
# Goals to execute.
goal=scm:checkout-project,jar:install
# Deployment properties
maven.username=verfra
maven.site.deploy.method=fs
maven.site.deploy.clean=true
# Checkstyle
maven.checkstyle.properties=${basedir}/../CalcCS.xml
# CVS
# maven.scm.cvs.root=c:/CVS
maven.scm.checkout.dir=${basedir}/checkouts
# maven.scm.cvs.checkout.flags=-r v1-2
# maven.scm.cvs.module=${pom.artifactId}
___

Re: Instability calculation

2005-04-08 Thread Siegfried Goeschl
Hi Frank,
I agree with you that it is odd but the instability is calulated using 
(Ce / (Ce + Ca). Since it is not used in your project Ca => 0 and 
therefore you get 1 showing up as 100% instability

Having said that I would not put too much weight on the metrics of 
JDepend since it is simply bean counting ... :-)

Cheers,
Siegfried Goeschl
Frank Verbruggen wrote:
In my opinion it is very weird that the instability of a class that is 
solely dependent on the java core classes, but is not used in this 
project by other classes is 100%.

Think about it !
Java is not instable, every new release has backwards compatibility 
for the previous version.

In my company, we define projects for each abstraction layer.
This is common practice in the business where I work (financial 
coorporations).
But because my lowest layer is depended upon only by higher layers, 
there are no classes recognized which depend on my package.
But since it is dependant on java.lang (duh !)
I get instability 100% for my package.
This is redicilous, how can I circumvent this oddity ?
Regards,

Frank Verbruggen
Solidium Group B.V.
Netherlands
-
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: Getting changelog to work

2005-04-08 Thread Milos Kleint

Siegfried Goeschl wrote:
Hi Frank,
+) I'm not sure if the syntax correct - you are using "|" instead of 
":" (might be a mail problem though)
+) the current version of Maven don't use the native cvs client but a 
Java library - there is a goal to add your CVS password (I have 
forgotten it)
+) last but not least are you using a file-based CVS repo under 
Windows - I suggest using a CVS server to be on the safe side

most probably the issue here. AFAIK changelog uses the cvs *client* 
library from netbeans.org which is jut a pserver client. local cvs 
repository doesn't use pserver protocol, thus it won't work.

regards
Milos Kleint

Cheers,
Siegfried Goeschl
Frank Verbruggen wrote:
Hi Maven development team,
my name is Frank Verbruggen, and I'm currently involved in 
introducing 'your' tool Maven at a major bank from the Netherlands 
(it is called SNS Bank).
We have almost succesfully incorporated everything, but there is just 
one problem:

we can't get the changelog, file activity and developer activity 
plugins to generate rapports that actually contain changes (ie. it 
always states no changes have occurred).

The directory layout is as follows:
+ C  [root]
 |
 + CVS  [dir]
 |
 + Calculator   [dir]
   |
   + project.xml [file1]
   |
   + project.properties  [file2]
   |
   + maven.xml   [file3]
   |
   + Calculator_Domeinlaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml   [file4]
   | |
   | + project.properties[file5]
   |
   + Calculator_Servicelaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml  [like file4]
   | |
   | + project.properties   [like file5]
   |
   |
   + Calculator_Presentatielaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml  [like file4]
   | |
   | + project.properties   [like file5]
FILE LISTINGS
_
[file1]
_


  3
  Calculator
  1.0
  Calculator Demonstration Application
  
  
 Solidium Group B.V.
 http://www.solidium.nl
 
http://www.solidium.nl/folder1/images/solidium-opzet_02.jpg
  

  2005
  calculator.*
  This application is specifically designed to show 
users the full potential of the "Soldium Ontwikkelstraat".
   It gives a full application supporting most features also 
supported in major applications.
   Also, it combines several features of the tools incorporated 
in the "Solidium Onwikkelstraat", such as:
   Maven, CVS, CruiseControl, Checkstyle, JCoverage, JUnit, PMD 
and many more.
   Specifically for managerial information, the application has 
been carefully released into the CVS.
   This application is also very suitable for workshop support, 
and other related presentations.
 Application description:
   This app is a calculator.
   It supports addition, substraction, multiplication and dividing.
   Also the button captions are configured in a separate file 
called: "keyconfig.txt".
   It supports full MVC and has a logical separation between 
program logic and calculation logic.
   This logical separation is specifically included to model the 
dependencies within WSAD projects.
  Calculator Demonstration 
Application
  C:/Calculator/CalculatorSite

  
 
Frank Verbruggen
verfra
[EMAIL PROTECTED]
 
  
  
 
scm|cvs|pserver|verfra:[EMAIL PROTECTED]|c:/cvs|${pom.artifactId} 

  
  
  
  
 [EMAIL PROTECTED]
 
${basedir}/checkouts/${pom.artifactId}/src 

 
${basedir}/checkouts/${pom.artifactId}/test 

  
  
  
 maven-changelog-plugin
 maven-file-activity-plugin
 maven-developer-activity-plugin
  

__
[file2]
__
# Proxy settings.
maven.proxy.host = THULIUM
maven.proxy.port = 8080
maven.proxy.username = verfra
# Continue generation of reports on test failures.
maven.test.failure.ignore=true
# Tasklist tag.
[EMAIL PROTECTED]
# Don't include reports for parent in overview.
maven.xdoc.includeProjectDocumentation=no
# Multi project base directory.
maven.multiproject.overviewPage.title=Calculator
# Goals to execute.
goal=scm:checkout-project,jar:install
# Deployment properties
maven.username=verfra
maven.site.deploy.method=fs
maven.site.deploy.clean=true
# Checkstyle
maven.checkstyle.properties=${basedir}/../CalcCS.xml
# CVS
# maven.scm.cvs.root=c:/CVS
maven.scm.checkout.dir=${basedir}/checkouts
# maven.scm.cvs.checkout.flags=-r v1-2
# maven.scm.cvs.module=${pom.artifactId}

[file3]
__

Re: Getting changelog to work

2005-04-08 Thread Siegfried Goeschl
Hi Frank,
+) I'm not sure if the syntax correct - you are using "|" instead of ":" 
(might be a mail problem though)
+) the current version of Maven don't use the native cvs client but a 
Java library - there is a goal to add your CVS password (I have 
forgotten it)
+) last but not least are you using a file-based CVS repo under Windows 
- I suggest using a CVS server to be on the safe side

Cheers,
Siegfried Goeschl
Frank Verbruggen wrote:
Hi Maven development team,
my name is Frank Verbruggen, and I'm currently involved in introducing 
'your' tool Maven at a major bank from the Netherlands (it is called 
SNS Bank).
We have almost succesfully incorporated everything, but there is just 
one problem:

we can't get the changelog, file activity and developer activity 
plugins to generate rapports that actually contain changes (ie. it 
always states no changes have occurred).

The directory layout is as follows:
+ C  [root]
 |
 + CVS  [dir]
 |
 + Calculator   [dir]
   |
   + project.xml [file1]
   |
   + project.properties  [file2]
   |
   + maven.xml   [file3]
   |
   + Calculator_Domeinlaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml   [file4]
   | |
   | + project.properties[file5]
   |
   + Calculator_Servicelaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml  [like file4]
   | |
   | + project.properties   [like file5]
   |
   |
   + Calculator_Presentatielaag   [dir]
   | |
   | + target [dir]
   | |
   | + checkouts  [dir]
   | |
   | + project.xml  [like file4]
   | |
   | + project.properties   [like file5]
FILE LISTINGS
_
[file1]
_


  3
  Calculator
  1.0
  Calculator Demonstration Application
  
  
 Solidium Group B.V.
 http://www.solidium.nl
 
http://www.solidium.nl/folder1/images/solidium-opzet_02.jpg
  

  2005
  calculator.*
  This application is specifically designed to show users 
the full potential of the "Soldium Ontwikkelstraat".
   It gives a full application supporting most features also 
supported in major applications.
   Also, it combines several features of the tools incorporated in 
the "Solidium Onwikkelstraat", such as:
   Maven, CVS, CruiseControl, Checkstyle, JCoverage, JUnit, PMD 
and many more.
   Specifically for managerial information, the application has 
been carefully released into the CVS.
   This application is also very suitable for workshop support, 
and other related presentations.
 Application description:
   This app is a calculator.
   It supports addition, substraction, multiplication and dividing.
   Also the button captions are configured in a separate file 
called: "keyconfig.txt".
   It supports full MVC and has a logical separation between 
program logic and calculation logic.
   This logical separation is specifically included to model the 
dependencies within WSAD projects.
  Calculator Demonstration 
Application
  C:/Calculator/CalculatorSite

  
 
Frank Verbruggen
verfra
[EMAIL PROTECTED]
 
  
  
 
scm|cvs|pserver|verfra:[EMAIL PROTECTED]|c:/cvs|${pom.artifactId} 

  
  
  
  
 [EMAIL PROTECTED]
 
${basedir}/checkouts/${pom.artifactId}/src 

 
${basedir}/checkouts/${pom.artifactId}/test 

  
  
  
 maven-changelog-plugin
 maven-file-activity-plugin
 maven-developer-activity-plugin
  

__
[file2]
__
# Proxy settings.
maven.proxy.host = THULIUM
maven.proxy.port = 8080
maven.proxy.username = verfra
# Continue generation of reports on test failures.
maven.test.failure.ignore=true
# Tasklist tag.
[EMAIL PROTECTED]
# Don't include reports for parent in overview.
maven.xdoc.includeProjectDocumentation=no
# Multi project base directory.
maven.multiproject.overviewPage.title=Calculator
# Goals to execute.
goal=scm:checkout-project,jar:install
# Deployment properties
maven.username=verfra
maven.site.deploy.method=fs
maven.site.deploy.clean=true
# Checkstyle
maven.checkstyle.properties=${basedir}/../CalcCS.xml
# CVS
# maven.scm.cvs.root=c:/CVS
maven.scm.checkout.dir=${basedir}/checkouts
# maven.scm.cvs.checkout.flags=-r v1-2
# maven.scm.cvs.module=${pom.artifactId}

[file3]


 
   
   
   
   ${doelen}
   
 Now attaining doel nummer ${doelNummer}, which is ${doel}
 
   
 

 
   
   
 

___
[file4]
___

Instability calculation

2005-04-08 Thread Frank Verbruggen
In my opinion it is very weird that the instability of a class that is 
solely dependent on the java core classes, but is not used in this 
project by other classes is 100%.

Think about it !
Java is not instable, every new release has backwards compatibility for 
the previous version.

In my company, we define projects for each abstraction layer.
This is common practice in the business where I work (financial 
coorporations).
But because my lowest layer is depended upon only by higher layers, 
there are no classes recognized which depend on my package.
But since it is dependant on java.lang (duh !)
I get instability 100% for my package.
This is redicilous, how can I circumvent this oddity ?
Regards,

Frank Verbruggen
Solidium Group B.V.
Netherlands
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Migrating to Maven

2005-04-08 Thread Roy, Anthony
> First, I would like to see what people's first impressions 
> are.  Have other people tried to adopt maven in a similar way 
> and succeeded/failed?

We have been using Maven now for around 5 months. It was easy to get
started with, and requires a lot less work to set up than an Ant project
(we had our own Ant build system with lots of default targets for common
tasks, almost all of which have been made redundant with the switch to
Maven. The dependency resolution, while not perfect, was a HUGE
incentive for us - it makes starting new projects so much easier, as
well as updating libraries in existing projects, and managing
inter-project dependencies.

> I'm guessing I need some sort of master project file that 
> will drive the sub projects.  I was looking at the 
> multiproject plug-in.  This seemed to be something that I 
> needed to use.  But it seems like I need finer grain control 
> on what order the projects are compiled in.

The muli-project plugin looks through the list of dependencies in each
project, and makes sure that projects get built in the correct order
(i.e. a project will be built after its dependencies). If you *do* need
finer control than that, you can create a new goal in your maven.xml,
perhaps using the reactor jelly tag to get whatever control you need. It
is considered best practice though to get your projects using as little
customisation as possible in the maven.xml, since it reduces maintenance
cost.
 
> If I encounter a case where there is a third party jar file 
> is not in ibiblio or an online repository, what is the 
> recommended procedure? 

Copy the jar into an appropriate directory structure in your global
repository (or local repo if you haven't got a global one set up). For
example we have the javamail jar in the javamail/jars/ directory of the
repo, with the filename javamail-1.3.2.jar. This is then referenced by
the dependency


javamail
javamail
1.3.2


> How can I build a jar without the version number?  I don't 
> really care about the version number.  The entire image is 
> versioned.  Actually, how do I strip out the version numbers 
> from the third-party jar files.  We don't care for this and 
> it actually makes our lives harder when we do patching.  We'd 
> have to remove the old jar files and add the new ones. In our 
> current environment, we just simply overlay the jar file and 
> restart the application.

Set up a post-goal to jar:jar in the maven.xml to rename the jar:





Do something similar for the third party jars assuming you have some
sort of pack goal set up (we actually have a maven plugin set up that we
use to build all distributions - the best approach if you are going to
be using the same custom goals for different projects).

> How do I tell maven to place all of the jar files under the 
> image instead of some unknown location?  

We found that the smoothest way to use Maven was to use the standard
setup, which is not very much different from the setup you already have.
For example:

+- base/util
 +- src
 +- java
 +- test
 +- config
 +- target
 +- xdocs

The source along with any specified config files get comiled and placed
in the target dir, as do any jars created. If you wanted to move all
files to your image directory, then a custom goal in a plugin would
probably be the best approach (see the example above.)


> How do I handle third party components that contain other 
> artifacts? For example, we use the tomcat embed component.  
> This is not only the jar files, but contains configuration 
> information as well.  

?
 
> Documentation is a bit tricky.  Remember I was talking about 
> how some subprojects are selectively built (site1, site2, 
> etc.)?  For the internal site documentation, I want all 
> generated.  For external
> documentation, only the site that is being built should be 
> created.   I
> want to place all of the javadoc in the image as part of our 
> documentation set.  

All docs are currently built into the maven format in the target
directory. You could move the ones you want to your target using a
custom goal. Build internal docs using the multi-goal project. Build
external docs using just site:deploy on the project in question.

> I don't want documentation to be generated in the developer's 
> environment.  It adds too much time to the build.

When you are developing in maven, you only need to call the goals you
need at the time. So don't call site:generate.

> At the end of the nightly build, we need to zip up everything 
> and put it on the repository.
> 
>  
> 
> I'm hoping that maven provides something useful for us and 
> doesn't turn out just to be a theoretical exercise.  Right 
> now, it feels like maven doesn't have exactly what I need.  
> I'm hoping that someone could prove me wrong.

It looks like maven has just what you want in terms of automated build,
but with some gaps. This is normal - it would be weird indeed if
everyone had exactly the same