Re: Generate jboss.xml and jbosscmp-jdbc.xml !!

2004-02-06 Thread __matthewHawthorne
Eric Chow wrote:
It can generate the ejb-jar.xml, but no jboss.xml and jbosscmp-jdbc.xml 


Your setup looks correct to me -- did you include a dependency on 
xdoclet-jboss-module.jar?

Try running Maven with -X and see if you notice anything strange.

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


Re: new idea on maven usage?

2004-02-04 Thread __matthewHawthorne
I think the easiest solution to this problem is to make a better effort 
to test Maven (and all other Java programs) on a many JDKs as possible: 
Sun, IBM, Kaffe, etc.  This effort would most likely come from users who 
have a vested interest in having the programs work on a specific 
platform, like BSD users.

Trying to involve Maven in anything native just sounds like a disaster, 
and a basic misinterpretation of what Java is supposed to be about.  If 
certain Java programs don't work on all platforms, then let's improve 
those programs -- instead of converting Maven into something else, 
letting some bad apples spoil the whole scene.

I worked at a place where the admins kept telling us to put our jar 
files in /usr/local/lib.  Most of the time we ignored them, but 
occasionally we couldn't and were forced to have our jars alongside 
billions of *.so files.  My point is that Java is platform-less, and any 
attempt to make it different just seems sideways.

While I'm sure that all Java code is not platform independent, I'd bet 
the farm that the vast majority of it is.  And isn't that the reason 
that we're using Java in the first place?

I'm confused.



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


Re: XDoc plugin 1.5 release

2004-02-03 Thread __matthewHawthorne
I'm running 1.0-rc1, and I get the same console output that Ryan posted 
in an earler message.



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


Re: XDoc plugin 1.5 release

2004-02-03 Thread __matthewHawthorne
[EMAIL PROTECTED] wrote:
Got anything to help me narrow it down?

Obviously the reports are running fine for me
Well, I'm seeing a LOT of these in my maven.log --

2004-02-03 10:40:13,780 WARN  org.apache.commons.jelly.tags.ant.AntTag - 
Could not convert tag: a into an Ant task, data type or property





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


Re: XDoc plugin 1.5 release

2004-02-03 Thread __matthewHawthorne
Sonnek, Ryan wrote:
I really like the new site look, but I appear to be having a problem with
the new plugin.  When I run maven:site, the reports are not run.  Could this
be related to the xdoc plugin?


I noticed the same thing...

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


Re: Sample EJB Project Using JBoss and Maven?

2004-01-29 Thread __matthewHawthorne
[EMAIL PROTECTED] wrote:
As a temporary workaround to this incredibly frequently asked question, 
I've symlinked www.ibiblio.org/maven/xdoclet as 
www.ibiblio.org/maven/xjavadoc

I believe this will fix the issue for most.


Thanks for this.  I love Xdoclet, but this xjavadoc groupId situation is 
one of the most annoying errors I've ever encountered.

You'd think that they would have released a fix for it already -- but I 
guess it's easy to manually hack it anyway.

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


Re: What does the maven debugging output mean

2004-01-29 Thread __matthewHawthorne
DeGraff, Adam wrote:
What file do the Line and Column numbers refer to?


I think it's the plugin.jelly file.

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


Re: Issues Building Webshop with Maven RC1?

2004-01-28 Thread __matthewHawthorne
This may be due to a known problem with the Xdoclet Maven plugin.  It 
looks for xjavadoc with groupId xjavadoc.

I submitted a request to maven-upload-requests to put the xjavadoc jar 
with it's own groupId.  This was denied.

I also submitted this as a bug to the Xdoclet team.  I didn't quite 
understand the response they gave me --  I'll follow up with them.

I use my own local copy of the xjavadoc jar which I put in the place 
that the plugin expects.

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


Re: Ant Task generates Absolute paths....

2004-01-28 Thread __matthewHawthorne
Mark R. Diggory wrote:
And to elaborate even more, it also happens to 
${pom.build.unitTestSourceDirectory}

  



  


Is this something that changed just recently?


It's been like that for awhile.  I've always had to manually hack the
Maven-generated Ant build files to remove these paths.


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


Why are plugin deps always copied to $MAVEN_HOME/plugins?

2004-01-23 Thread __matthewHawthorne
If a dependency has plugin, it seems that it is always 
copied to $MAVEN_HOME/plugins -- even if the plugin is already there.

Why is this?

This caused me some problems when running on a machine in which I didn't 
have write permissions to $MAVEN_HOME/plugins.  I sudo'd and installed 
the plugin manually, but then still received an IOException because I 
couldn't write to the plugin's jar file.

Are there any workarounds for this?  If not, I'd consider this a bug -- 
do others agree?

Thanks!

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


Re: Making plugins a dependency

2004-01-22 Thread __matthewHawthorne
Jörg Schaible wrote:

I try it currently with RC2, but it does not work either:

 === snip===
	 
		 
			xdoclet 
			xjavadoc 
			1.0.2 
			http://xdoclet.sourceforge.net 
			plugin
		 
 		 
			xdoclet 
			xdoclet 
			1.2 
			http://xdoclet.sourceforge.net 
			plugin
		 
 [...]
 === snap===


It does not work because these two dependencies are not plugins.  Remove 
the type elements of these two, and add another:

groupId: xdoclet
artifactId: maven-xdoclet-plugin
version: 1.2b4 (I don't see 1.2 on ibiblio...)
type: plugin
I think this should do it.

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


Re: Plugins, JVM and dependencies

2004-01-20 Thread __matthewHawthorne
Mark R. Diggory wrote:
> Is there a way I can detect the jvm verison on install or somehow
> manage which jars get installed given my jvm version?
I think you can use the jar override feature to specify a different 
version than what's in your project.xml

maven.jar.override=on

*Maybe* in maven.xml you could use an Ant conditional to detect the Jvm 
and set the properties accordingly

if(1.4) {
  
  etc..
}
I have no idea if this would work...





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


Re: xdoclet task cannot be found - problem with classpath?

2004-01-18 Thread __matthewHawthorne
Maciek Zywno wrote:
> I tried to use xdoclet plugin, but the class definition for
> xdoclet.modules.web.WebDocletTask cannot be found.
Try running maven with the -X flag.  Sometimes there are a chain of 
ClassNotFoundExceptions -- a class that the WebDocletTask depends on may 
be missing.

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


parent maven.xml dependencies inherited by subprojects?

2004-01-18 Thread __matthewHawthorne
I have a main project with project.xml and maven.xml.  In maven.xml, I 
use a Velocity tag library:

xmlns:velocity="jelly:org.apache.commons.jelly.tags.velocity.VelocityTagLibrary"

Since I have many subprojects that extend the main project.xml, I moved 
the velocity dependency to another project file, named project-main.xml 
which *only* the main project.xml extends.

Now, when I attempt to compile a subproject, I get:
java.lang.ClassNotFoundException: 
org.apache.commons.jelly.tags.velocity.VelocityTagLibrary

So, is it true that the maven.xml is loaded of the main project when a 
subproject depends on it?  This seems to be the case -- and that seems 
strange to me.

Thanks for any info!

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


Re: Thoughts on project uniqness.

2004-01-17 Thread __matthewHawthorne
Mark R. Diggory wrote:
This is where nested directory structures come into play. Which is 
easier to maintain uniqueness?

/jakarta.apache.org/commons/...
/xml.apache.org/commons/...
/commons.apache.org/...
or

/org
   /apache
  /jakarta
 /commons
  /xml
 /commons
  /commons
or

/commons-math/
/commons-collections/
/xml-apis
...
This is the type of thing that the Apache Repository project was talking 
about.  I think that they decided to use your 1st example, the fully 
qualified domain name of the "group".

I also like this idea, I've been complaining about the current structure 
(with the 20 or so commons-* directories) for a while now.

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


Re: CVS Downloads, Eclipse

2004-01-16 Thread __matthewHawthorne
Vikas Phonsa wrote:
> Is anybody using Eclipse over here ? When you do a CVS check out of
> any Apache project into Eclipse all the directory structure get 
really > screwed up.
>
> Does anybody has any smart trick to take care of this in Eclipse ? Or 
> any tool or something.

I usually prefer to check out from the command line and add my projects 
to Eclipse manually.

I made an apache folder which is my Eclipse project root, and the I 
check out projects beneath:

apache/
  .classpath
  .project
  jakarta-commons/
...
  jakarta-commons-sandbox/
...
  ant/
...
But this may not be preferable for you -- I don't particularly like 
Eclipse's CVS handling and I do work with other editors as well.

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


Re: Simple properties question...

2004-01-10 Thread __matthewHawthorne
Incze Lajos wrote:
In the long run and in the new Maven code I won't be promoting Jelly for
plugins at all, but will be promoting the use of beanshell. I'm sure XML
programming will remain wildly popular and if that is the case I will be
reimplementing Jelly taking it down to the bare metal with xpp3 and
using OGNL for expressions. I am no longer a fan of Jelly. I know people
seem to love XML programming but I think it's the single biggest mistake
I've made with Maven and it has cost us all dearly. I won't be making
any similiar mistakes in the future.


I would consider using groovy in the long run. It is a real scripting
language has all the structures (designed in) that were important in
jelly scripting (ant builder, xml builder, can emit xml sax events, etc.)
has excellent structures which could be important in workflows (closures
are, in fact, 1st class object code snippets that could be called on
worflow stages), can be interpreted AND compiled to bytecode, the same
way easy bean integration as in the jelly scripting, etc. And last but
not least: the syntax is not XML, but real programming language with
pretty good collection interfaces (which seems to be one of the most
important factors in project builders). Seemingly, the current codebase
can be 'mechanically' transported from jelly to groovy.


I agree that Jelly is a bit rough and that Groovy looks awesome.  I've 
used Beanshell a bit, and it's OK, but something just seems to be missing.

Jason, do you have any thoughts on using something like BSF for the 
plugins?  That way, if I'm understanding things correctly, the actual 
plugin implementations could be written in a scripting language of 
choice.  But, maybe that would just cause more headaches.  The important 
part seems to be making the POM data accessible in a nice generic way -- 
no matter what the language.

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


using jar overrides with multiproject: a ${basedir} battle

2004-01-09 Thread __matthewHawthorne
I use the jar override feature for libraries that aren't on ibiblio.org. 
 I check these jars into our SCM system so that the other developers 
can easily get them.

This works great when building individual projects, but when attempting 
to run multiproject:site the jars aren't found due to a ${basedir} 
issue.  The subproject looks for the jars in ../lib/ejb.jar, but when 
running from the parent directory that path doesn't exist.

I've tried putting ${basedir}/../lib/ejb.jar into the 
project.properties, but that doesn't work either.  I've tried putting a 
project.properties in the "trunk" directory with 
maven.jar.ejb=lib/ejb.jar -- but that also doesn't work.

Here's a sketch of my layout:

trunk/

  lib/
ejb.jar
  server/
project.xml
project.properties {
  maven.jar.override=on
  maven.jar.ejb=../lib/ejb.jar
}
Does anyone have any ideas how I can make jar overrides work with 
multiproject?

Thanks for any help!

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


viewable info on individual plugins and maven.xml goals

2004-01-07 Thread __matthewHawthorne
Although I would prefer not to, I frequently need to create a maven.xml 
to do some special things.

One great thing from Ant was the '-projecthelp' option that would output 
the available targets and documentation.  I find that 'maven -g' is 
overwhelming, since I usually only need to view one plugin at a time.  I 
usually create a 'help' goal that documents all of my special goals and 
properties.

It would be nice if:

1) 'maven -g ' would show all of the goals from the specified plugin

2) maven -go (goal override, or something similar) could show all goals 
from maven.xml, like Ant's projecthelp.

Questions:

1) Have I missed something -- does this functionality already exist 
somehwere?

2) Do others agree that these are good ideas?

Thanks for any input!

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


Re: XDoclet plugin strange behavior

2004-01-04 Thread __matthewHawthorne
A week or so ago, I filed this as a bug with the Xdoclet team.  The 
plugin looks for the xjavadoc plugin with the groupId "xjavadoc" instead 
of "xdoclet".  I haven't heard anything back.

The frustrating part is that the only way I was able to figure out the 
error was by looking at the plugin's project.xml.

To fix it, you must either put the jar into /xjavadoc/jars or use 
the jar override feature and put it wherever you want.  I requested that 
the xjavadoc jar be put into its own directory (not the xdoclet dir) on 
ibiblio, but the request was denied.

Aleksandr Shneyderman wrote:
Konstantin Priblouda wrote:

Well, if yoyu use gourpid, you have to call your
xjavadoc xdoclet-xjavadoc.whatever.jar
According to the documentation the files are located according to the
following pattern:
${repo}/${groupId}/${type}s/${artifactId}-${version}.${type}

So if my dependency looks something like the following:
  
  xjavadoc
  xdoclet
  1.0.2
  jar
  
Should not I expcet maven to find the jar if the file at location
${repo}/xdoclet/jars/xjavadoc-1.0.2.jar does exists?
Thanks,
Alex.


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


Re: multi-project sequence

2004-01-01 Thread __matthewHawthorne
I believe you can manage this by declaring some subprojects as dependent 
on others.  The multiproject plugin will then build them in the correct 
order.

Hahne, Ronald wrote:
How do you control the order in which sub-projects are called?
I have components that must be build in a particualr order or one or more
will fail because it requires one of the other components to be built prior.
Thanks,
\  /
Ron Hahne   (* *)
Cube C3C024   ooO( )Ooo
Brooker Creek (813) 366-4052
Cell Phone  (727) 638-0690


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


Re: Error Downloading ejb-2.0.jar

2003-12-31 Thread __matthewHawthorne
I think that the jars provided by Sun are being removed from ibiblio.org 
due to licensing issues.  I'm using ejb, servletapi, and jaxrpc, and 
I've noticed my project gradually breaking, jar by jar, over the past 
few months.

In order to use these jars, you need to manually grab them (probably 
from java.sun.com) and put them in your local repo.

Another option is to check them into your source control system and use 
Maven's jar override feature to specify the location.  This is how I'm 
doing it.

[EMAIL PROTECTED] wrote:
Hi, I have updated my project.xml and project.properties with the xdoclet stuff as indicated in the Maven Docs.  Now, I'm getting the following message when I run 'maven java:compile':

$ maven java:compile
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
Attempting to download ejb-2.0.jar.
WARNING: Failed to download ejb-2.0.jar.
The build cannot continue because of the following unsatisfied dependency:
ejb-2.0.jar (no download url specified)

Total time: 4 seconds
Finished at: Wed Dec 31 13:41:30 PST 2003
At this time, all the ejb, jar, and war related code is under '${base.dir}/src/java'.
I simply want to compile everything and worry about breaking this stuff into multiple
projects in the future.
Thanks in advance,

-Conrad


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


subversion connection string?

2003-12-30 Thread __matthewHawthorne
Does anyone have an example of a repository connection string using 
subversion?

I'm using something like:
scm:subversion:https://some.address.mil/project/trunk
And get the following error from the changelog plugin:
java.lang.IllegalArgumentException: repository connection string 
contains less than six tokens

Thanks!

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


subversion version (was: subversion connection string?)

2003-12-30 Thread __matthewHawthorne
OK, so I added:
maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory
to my project.properties and the plugin gets farther than before.
However, now I am not getting results:
SCM Command Line[0]: svn
SCM Command Line[1]: log
SCM Command Line[2]: -v
SCM Command Line[3]: -D 2003-12-31:2003-11-30
svn: invalid option character: D
Type 'svn help' for usage.
ChangeLog found: 0 entries
The plugin seems to use the wrong command line string.  What version of
subversion is the plugin using?  I'm running subversion-0.32.1-7505.
Also, doesn't it seem redundant to not only specify the scm type in the
connection string (scm:subversion, scm:cvs) but also in the
maven.changelog.factory property?  Couldn't the type be detected
dynamically by parsing the string and the proper factory used accordingly?
__matthewHawthorne wrote:
Does anyone have an example of a repository connection string using 
subversion?

I'm using something like:
scm:subversion:https://some.address.mil/project/trunk
And get the following error from the changelog plugin:
java.lang.IllegalArgumentException: repository connection string 
contains less than six tokens

Thanks!



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


Re: build finesse documentation?

2003-12-30 Thread __matthewHawthorne
You should check out the goals and properties for the war plugin.

http://maven.apache.org/reference/plugins/war/

There are some include/exclude properties that should help.  You can 
also see which goals to create pre and post goals for.

Keith Irwin wrote:
Folks--

I'm trying to convert from ant to maven, but can't find anything about
how to use maven.xml to do some fancy stuff.
For instance, what I want to do is be able to filter out certain
classes, and use a different web.xml depending on the lifecycle of the
app.
Using the ant war task, I can do things like:

  

  
which removes all classes in "**/devel/** if devel.tweak is set.

I'm guessing that this kind of thing might be solved either by

 1. creating a new goal to generate the war file rather than
using the default
or

 2. using the resources stuff in project.xml.

My main question, though, is if anyone knows of any documentation about
this sort of thing somewhere on the maven site?
Thanks,

Keith


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


Re: Failed to upgrade to using XDoclet 1.2 plugin !!!

2003-12-21 Thread __matthewHawthorne
Eric Chow wrote:
> I have used XDoclet plugin 1.2b3 for a long time, and now I change to 
> 1.2 (final), it just failed for "task class
> xdoclet.modules.hibernate.HibernateDocletTask cannot not found "

I experienced something similar yesterday.  Be sure to run maven with -X 
to see the debug output.  It may be that you don't have the matching 
xdoclet version as a dependency.  Most likely, a class that the 
Hibernate task depends on can't be found.

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


java:compile called twice when invoking war:install, ejb:install

2003-12-20 Thread __matthewHawthorne
I'm using Maven to build and deploy an ear file.  I have one project 
which contains code for the ejb jar and the war file.

In my maven.xml, I wrote a postgoal to ear:ear which calls war:install 
and ejb:install, in order to build all of the components of my ear.

In doing this, the java:compile target is executed twice.  I'm using 
xdoclet in a pregoal to java:compile, so this is particularly annoying.

Has anyone else experienced a similar problem?  Is there an easy 
solution to avoid my code being compiled twice?

Thanks!

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


Re: Building J2EE project

2003-12-15 Thread __matthewHawthorne
I would consider checking in a static application.xml file.  I may be 
wrong, but these types of customizations just seem to wacky to fit into 
the Maven system.



[EMAIL PROTECTED] wrote:
Thanks for the many helps offered to me regarding how to build a J2EE
project.
However, can someone also tell me how to add the global security role
information into the application.xml generated from the ear-plugin?  I
browse throught the jelly codes and realised that it is not included as
part of the plugin.  I don't understand why it is not supported as
security-role is part of the application.xml file.  Do I have to write a
postGoal to append the security roles?  Any suggestion on how to do that,
and what if I want to extract the roles directly from web.xml and
ejb-jar.xml?
Regards,
Eng Hoe
App Dev-DCS
SGX-IT Division
DID: (65) 62368963
FAX: (65) 64388840
email: [EMAIL PROTECTED]
   
Ralf   
Quebbemann   To: Maven Users List <[EMAIL PROTECTED]> 
<[EMAIL PROTECTED]   cc:   
nn.de>   Subject: Re: Building J2EE project
   
13/12/2003 
12:55 AM   
Please respond 
to "Maven  
Users List"
   
   



Try this article:
http://www.theserverside.com/resources/article.jsp?l=MavenMagic
It helped me a lot when I switched from ant to maven. Also check out the
maven wiki. There are a couple of great docs covering J2EE projects.
Ralf

Lester Ward wrote:

What is the best way to build a J2EE project?


There is a fairly decent sample on doing this, though it was written
before

the multiproject plugin existed:

http://www.pivolis.com/pdf/J2EE_projects_Maven_V1.1.pdf
http://blogs.codehaus.org/people/vmassol/archives/everest.zip
Wordman

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



--
~
Email: [EMAIL PROTECTED]   Address: Ralf Quebbemann
Web:   http://www.quebbemann.de  Damm 39
ICQ:   25803866  26135 Oldenburg
 Germany
Check out my SRV trade list:
http://www.quebbemann.de/ralf
http://quebbemann.kicks-ass.net/~peter (slow mirror)
~


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


Confidentiality Caution
===
Privileged/Confidential Information may be contained in this message. If
you are not the addressee indicated in this message (or responsible for
delivery of the message to such person), you may not copy or deliver this
message to anyone. In such case, you should destroy this message and kindly
notify the sender by reply email. Opinions, conclusions and other
information in this message that is not of an official nature shall be
deemed as neither given nor endorsed by SGX unless indicated by an
authorised representative independent of this message.


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


Re: problem using ftp task from maven.xml

2003-12-07 Thread __matthewHawthorne
n.cli.App.doMain(App.java:543)
at org.apache.maven.cli.App.main(App.java:1109)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Root cause
taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be found
at
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:240)
at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:162)
at org.apache.tools.ant.Task.perform(Task.java:341)
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 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
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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: java.lang.NoClassDefFoundError: com/oroinc/net/ftp/FTP
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
at java.lang.Class.getDeclaredConstructors(Class.java:1169)
at
org.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.java:484)
at
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:231)
... 19 more
--- Nested Exception ---
java.lang.NoClassDefFoundError: com/oroinc/net/ftp/FTP
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
at java.lang.Class.getDeclaredConstructors(Class.java:1169)
at
org.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.java:484)
at
org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:231)
at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:162)
at org.apache.tools.ant.Task.perform(Task.java:341)
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 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
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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Total time: 4 seconds
Finished at: Sat Dec 06 15:40:08 EST 2003
-Original Message-
From: __matthewHawthorne [mailto:[EMAIL PROTECTED] 
Sent: Saturday, December 06, 2003 1:31 PM
To: Maven Users List
Subject: Re: problem using ftp task from maven.xml

What type of problem?  Can you provide a stack trace by running with 
maven -X?



Ian Kent wrote:

I am having problem using the optional ftp task from maven.xml. I have 
search the mail list and google with no luck. Please help.

I have the following dependencies in my project.xml :

 
ant
ant-optional
1.5.1
http://jakarta.apache.org/ant/
 
 
netcomponents
netcomponents
   

Re: problem using ftp task from maven.xml

2003-12-06 Thread __matthewHawthorne
What type of problem?  Can you provide a stack trace by running with 
maven -X?



Ian Kent wrote:
I am having problem using the optional ftp task from maven.xml.
I have search the mail list and google with no luck.
Please help.
I have the following dependencies in my project.xml :

  
 ant
 ant-optional
 1.5.1
 http://jakarta.apache.org/ant/
  
  
 netcomponents
 netcomponents
 1.3.8a
 http://jakarta.apache.org/commons/net/
  
And the following in my maven.xml :

   
  
classname="org.apache.tools.ant.taskdefs.optional.net.FTP" />

  
  
location="${plugin.getDependencyPath('ant:ant-optional')}"/>
  
location="${plugin.getDependencyPath('netcomponents:netcomponents')}"/>

  
   userid="${maven.deploy.site.username}"
   password="${maven.deploy.site.password}"
   remotedir="${maven.deploy.site.dir}"
   verbose="yes"
  >
 

   




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


multiple java:compile executions due to XDoclet ant tasks in maven.xml

2003-12-05 Thread __matthewHawthorne
I'm using XDoclet to generate EJBs. Initially I had followed the
instructions in their Maven plugin documentation, which simple called
xdoclet:ejbdoclet as a preGoal to java:compile.  However, I'm now in a
more complicated situation and I must invoke the XDoclet Ant tasks manually.
Simply replacing the call to the XDoclet Maven plugin with the XDoclet
Ant tasks in maven.xml doesn't work exactly as I'd hoped.  When calling
goals like war:war or ejb:ejb, the XDoclet tasks are executed twice,
since for some reason java:compile seems to be invoked twice.  Does this
sound crazy or has anyone else experienced something similar?
Perhaps the java:compile goal is confused, since due to XDoclet
generating some source files, the pom.build.sourceDirectory and the
classes in target/classes don't match up exactly.  It's a strange situation.
Thanks for any help!



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


Re: Junit with special test cases

2003-12-05 Thread __matthewHawthorne
In taking a quick look the the test plugin's docs 
(http://maven.apache.org/reference/plugins/test/properties.html), it 
seems that setting the maven.junit.fork property to true may allow each 
test to run in a separate JVM.

Can someone confirm this?



[EMAIL PROTECTED] wrote:
I have a frame work that will do self configuration.  Depending on what is
in the class path it will load different implementations of the interface.
I have written test cases in ant that execute the test cases for different
implementations.  Each implementation test case requires a special class
path and to be run in a separate JVM.  I got all of my general test cases
to run but I can't figure out how to get the test cases that require a
specific class path to run and how to run them in a separate VM.  Any help
world be appreciated
Mark Russell
PNC Financial Services Group
412-768-9603


-
The contents of this email are the property of PNC. If it was not addressed to you, 
you have no legal right to read it. If you think you received it in error, please 
notify the sender. Do not forward or copy without permission of the sender.


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


Re: Building WARS - a few questions

2003-12-04 Thread __matthewHawthorne
I just got this to work myself.  If you haven't already, be sure to take 
a look at the war plugin's documentation
http://maven.apache.org/reference/plugins/war

Maven's war:webapp goal puts all of the included files into 
target/${pom.artifactId}.  (or something similar to this).  For extra 
files, you can write a postGoal for war:webapp in maven.xml that adds 
all of your extra files. As far a I could tell, all the war:war goal 
does is create the actual war file from this directory.

For dependencies, you can specify which ones you want in the war by 
using the war.bundle properties


  
  
  
true
  

Hope this helps!



Brian Burridge wrote:
Currently we do our builds with ANT, but I am attempting to move to
Maven.
During our deploy, depending on the ANT target you have chosen, it
copies files from different directories into the target before building
the WAR.
What do you recommend I do in Maven to accomplish building a WAR with
different included files? I could use Ant to build the target
directories, but that seems temporary. I'd prefer to be 100% Maven.
Brian


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


Re: Is there any thought of an alternative to jelly?

2003-11-25 Thread __matthewHawthorne
I think that some of the gang who worked on Jelly are also working on 
http://groovy.codehaus.org

Looks interesting.



Aaron Anodide wrote:
For instance XSL allows JavaScript processing.  I think this would make
writing Maven plugins alot easier.  Jelly works, but it's awkward imho.
Aaron


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


Re: statcvs made CPU running in 100% workload and did nothing

2003-11-16 Thread __matthewHawthorne
It may have something to do with your cvs login setup.  For example, if 
you are connecting to sourceforge using :ext: and tunneling through ssh, 
there will be a password prompt which may cause Maven to hang.  This has 
happened to me a few times before -- try setting up ssh-agent and public 
keys to that you don't have to log in everytime.

StatCvs can also cause problems on very large projects.  For example, 
running the plugin with jakarta's commons-collections sometimes takes 
10+ minutes to run.  I guess parsing the cvs logs can be very intensive.



[EMAIL PROTECTED] wrote:
Here's the message:
__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
statcvs:init:

statcvs:generate:
[echo] fetching cvs logs...
Everything stopped here. After I pressed Ctrl+C, two more lines were
displayed:
[cvs] [EMAIL PROTECTED]'s password:
[mkdir] Created dir:
F:\Workshop\Cyclops\tornado\target\generated-xdocs\stat
cvs
Terminate batch job (Y/N)? ^C
Any ideas?



Regards
Jiaqi Guo
 
[EMAIL PROTECTED]
http://cyclops-group.sourceforge.net





3
tornado
tornado
1.0-a1-SNAPSHOT

Cyclops Group
http://cyclops-group.sourceforge.net
/images/cyclops_logo.gif

/images/tornado_logo.gif
2003
com.cyclops.tornado
A web application based on Jakarta Turbine

To change this text, edit project.xml please
  
http://cyclops-groups.sourceforge.net/projects/tornado
shell.sourceforge.net

/home/groups/c/cy/cyclops-group/htdocs/projects/tornado

scm:cvs:pserver:[EMAIL 
PROTECTED]:/cvsroot/cyclops-group:tornado
scm:cvs:ext:[EMAIL 
PROTECTED]:/cvsroot/cyclops-group:tornado
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/cyclops-group/tornado



Cyclops Group Member

http://lists.sourceforge.net/lists/listinfo/cyclops-group-member

http://lists.sourceforge.net/lists/listinfo/cyclops-group-member

http://sourceforge.net/mailarchive/forum.php?forum=cyclops-group-member


Cyclops Group Develop

http://lists.sourceforge.net/lists/listinfo/cyclops-group-develop

http://lists.sourceforge.net/lists/listinfo/cyclops-group-develop

http://sourceforge.net/mailarchive/forum.php?forum=cyclops-group-develop




Joel Guo
joel
[EMAIL PROTECTED]

Architect
Java Developer

-8


Daisy Zhao
daisy
[EMAIL PROTECTED]
U.T. Dallas

Observer

-8




avalon-framework
4.1.4
http://jakarta.apache.org/avalon

true



commons-beanutils
1.6.1

true



commons-collections
2.1

true



commons-configuration
20030311.152757

true



commons-dbcp
20030825.184428
http://jakarta.apache.org/commons/

true



commons-digester
1.5
http://jakarta.apache.org/commons/digester

true



commons-io
20030203.000550

true



commons-pool
20030825.183949
http://jakarta.apache.org/commons/pool/

true



commons-xo
0.8

true



commons-lang
20030203.000129

true



commons-logging
1.0.3

true



commons-io
20030203.000550

true



commons-http
1.1

true



commons-fileupload
1.0-dev

true



dom4j
1.3

true



fulcrum
20021029.113748
http://jakarta.apache.org/turbine/fulcrum/

true



commons-httpclie

Re: setting up Maven on Linux

2003-11-11 Thread __matthewHawthorne
Remember that, if you change a user's groups, you have to logout and 
re-login for the changes to take effect.



Berin Loritsch wrote:
[EMAIL PROTECTED] wrote:

Hi,

I'm using Maven on a SuSE 9.0 (before that, 8.1 and 8.2). I use 
following setup:

in /usr, I've created a directory called "java". Below that directory, 
I install all my java stuff such as ant, maven, jdk's etc.

I've executed the commands:
chgrp -R users /usr/java chmod -R g+w /usr/java
I know, that this gives any user access to modify anything below the 
/usr/java directory, but on my machine, the only user is  me.


Hmm.  I have done this, or something like it.  I still can't get access.

I originally did not have me in my "users" group, but even with that fix 
I can't
seem to have write access to the plugins directory.

You would need to give the users access to write into the repository 
directory too, if you wish to use a single repository and not one pr. 
user.

I've been quite happy with Linux/maven, I've used maven for quite a 
while.

br,
  /Sverre


Quoting Berin Loritsch <[EMAIL PROTECTED]>:


I want to set up Maven 1.0rc1 on my linux laptop for all users, but I am
running
into problems because all new plugins need to be installed by root, 
which
makes
the process of installing and debugging plugins a real problem.

I have set the plugins directory with the following settings:

chgrp -R users plugins
chmod -R g+w plugins
I still can't let users update and add plugins at this location.  
Also, how
many
others are using Maven with a real operating system (Windows doesn't 
count)?
The issues are completely with permissions.



-
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: setting up Maven on Linux

2003-11-11 Thread __matthewHawthorne
I think you have the right idea.  But I've never been able to get a 
shared plugin directory working.  I allow them to be unpacked in the 
default dir ~/.maven/plugins.

I have been able to set up my local repository in the way that you're 
suggesting though.

Try doing chgrp and chmod with the -v (verbose) option to make sure that 
all files are being affected.



Berin Loritsch wrote:
I want to set up Maven 1.0rc1 on my linux laptop for all users, but I am 
running
into problems because all new plugins need to be installed by root, 
which makes
the process of installing and debugging plugins a real problem.

I have set the plugins directory with the following settings:

chgrp -R users plugins
chmod -R g+w plugins
I still can't let users update and add plugins at this location.  Also, 
how many
others are using Maven with a real operating system (Windows doesn't 
count)?
The issues are completely with permissions.


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


Re: Checkstyle Configuration

2003-11-09 Thread __matthewHawthorne
The way I see it, Maven doesn't want to get involved with configuring 
Checkstyle.  It just calls Checkstyle for you with a user provided file, 
or a default.  Adding some heirarchical configuration loader for 
Checkstyle sounds nice, but then Maven would have to consider doing the 
same for a lot of other plugins.  It seems easiest and most efficient to 
keep things separate.

However, this may be a nice workaround:

I like the Checkstyle plugin for Eclipse.  I believe that the defaults 
that it uses are based on the Sun standards.  You can create a copy of 
the default, rename it, customize it to your liking, and then export it 
to an xml file.  Perhaps you could then use this file in Maven?

Hope this helps.



John Keyes wrote:
Is it possible to override configuration settings in the
current Checkstyle plugin like it was possible when
properties files were used?


maven.checkstyle.properties=my-checkstyle.xml


Yes but I have to specify all of the rules again in that file.  I
think it should be extensible.
For example, I would like to use the sun coding standard as the
base for my coding standard and I want to change some of the
settings.


a) Be warned, the sun_checks.xml do not implement the sun coding
   standard.


Why not?  It's bad that it doesn't work as advertised.

b) Have you seen Jalopy? http://jalopy.sourceforge.net/
   There is a 'jalopy' goal.


Yeah, but it doesn't haven any relevance to this discussion.
I just like the idea of being able to import a base standard
and customize that as I see fit.
-John K


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


Re: Is it possible to preserve formatting in xdocs/*.xml

2003-10-31 Thread __matthewHawthorne
Instead of using  tags, you may want to try using  tags 
with  blocks inside.

This doesn't preserve your formatting, but it made writing the XML a lot 
easier for me.



Matt Raible wrote:
I want to preserve my HTML formatting in my *.xml files under xdocs.  2 
reasons:

1.  I'm putting a few code samples in my documentation.  Maven puts 
 on one line, then my code, and another  on a different 
line.  In my XML files, the code starts right after  - which we all 
know is necessary to get the spacing we desire.
2.  trailing space before the closing  tag.

Are there any (easy) workarounds for these issues?

Thanks,

Matt


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


Re: Seriously Customizing the Project Website

2003-10-30 Thread __matthewHawthorne
from http://maven.apache.org/reference/user-guide.html -

To override the Maven-supplied stylesheet, copy your own and override 
the maven.css stylesheet in your ${basedir}/xdocs/stylesheets/ 
directory. You can also specify your own javadoc stylesheet by setting 
the maven.javadoc.stylesheet property



Also, to answer your question directly, I've never tried such a thing. 
But, I have some input on your idea.

I thought about making some heavy modifications to the Maven site 
before, but decided against it.  I instead created a site the way that I 
wanted it and then provided links to the Maven sites for my projects.  I 
figured it was easiest to just let Maven be Maven, and structure my site 
the way that I wanted it.

Do you really need links to JavaDoc, Unit tests results, and File 
activity reports on the same page with Flash movies and Applets?  Maven 
seems to be for project-level documentation, and adding rich content may 
be mixing things that don't belong together.

Obviously, it's just my opinion - but this worked out pretty well for me.



[EMAIL PROTECTED] wrote:

I was wondering if anybody has attempted to make any significant cosmetic
modifications to the website that is generated by "site:generate"?  I'd like
to do things like change the fonts and how the collapsible menus look.  I'm
even thinking about adding rich content like flash interfaces and applets.
And I want to be able to move things around as far as the layout goes.
I'm familiar with the list of xdoc properties but it's apparent that those
properties are more geared toward simplification rather than customization.
I can modify the plugin itself but as soon as I download a SNAPSHOT.jar all
my customizations go away.
So what I'm thinking of is sort of like what "genapp" does.  First, it looks
in ~/.maven/template for a customized template, and if not found, then
defaults to the one in the jar.  Is there a directory that "site:generate"
looks in for CSS and XSL before going with the defaults?
Yoway Buorn
Software Engineer
Imagery Systems Engineering
GENERAL DYNAMICS
Advanced Information Systems
"Make me a fire and I'm warm for a night.  Set me on fire and I'm warm for
the rest of my life." -- Ancient Didactical Saying


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


Re: how do I jar without testing...

2003-10-29 Thread __matthewHawthorne
Try adding -Dmaven.test.skip=true to your command line.

This info is located at:
http://maven.apache.org/reference/plugins/test/properties.html


Kelly Sonderegger wrote:
Sorry to bother the list with this but I can't seen to find a way to
shut off unit testing so I can just jar up a file.
I commented out the unitTest directives and it still executed the unit
test.
thanks,
Kelly Sonderegger


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


Re: Is it impossible to include a common file with xdoc?

2003-10-17 Thread __matthewHawthorne
You could probably do it by using XML entities in your xdocs.  Maven 
would just pass it along.

Has anyone tried this?



Chad Woolley wrote:

Hi,

I didn't get any answer on this before, so I'll ask it a different way. 
Hopefully the word "impossible" in the subject will stir up some 
response :)

- I want to use maven's XDOC support to automatically build my site.

- I want to include some common html in various locations on multiple 
pages (like my email, or a site logo, or whatever).

- I want this common html to live in one file and not be duplicated on 
each page.

Is this not possible with maven?

Thanks,
Chad


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


Re: StatCVS

2003-10-05 Thread __matthewHawthorne
Maybe it's still trying to use the old plugin?  Try deleting the plugin 
directory and running it again.



Askren, Jay wrote:
I upgraded my version of maven to release candidate 1 and StatCVS stopped working.  When I run maven, I get the following.  Any ideas why it isn't working.
 
 
Jay
 
 
C:\Eclipse\workspace\ERAWeb>maven site:generate
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
Attempting to download maven-SNAPSHOT.jar.
site:
xdoc:register-reports:
statcvs:init:
maven-statcvs-plugin:register:
maven-jdepend-plugin:register:
maven-simian-plugin:register:
maven-pmd-plugin:register:
maven-checkstyle-plugin:register:
maven-changelog-plugin:register:
maven-changes-plugin:register:
maven-file-activity-plugin:register:
maven-developer-activity-plugin:register:
maven-junit-report-plugin:register:
maven-clover-plugin:register:
maven-jcoverage-plugin:register:
maven-tasklist-plugin:register:
maven-javadoc-plugin:register:
maven-jxr-plugin:register:

site:run-reports:
[echo] Generating the StatCvs Report...
statcvs:init:
statcvs:generate:
[echo] fetching cvs logs...
[cvs] Using cvs passfile: C:\Documents and Settings\Owner\.cvspass
[java] StatCvs-XML - CVS statistics generation
[java]
[java] Usage: java -jar statcvs-xml-0.9.0.jar [options]  
[java]
[java] Required parameters:
[java] Cannot recognize web repository type. Please select it explicitly
[java] path to the cvs logfile of the module
[java]   path to the directory of the checked out module
[java]
[java] Some options:
[java]   -version   print the version information and exit
[java]   -output-dir   directory where HTML suite will be saved
[java]   -include  include only files matching pattern, e.g. **/*.c
;**/*.h
[java]   -exclude  exclude matching files, e.g. tests/**;docs/**
[java]   -title  Project title to be used in reports
[java]   -weburl   integrate with web repository installation at 
[java]   -verbose   print extra progress information
[java]   -output-suite [class] use the xml renderer
[java]   -use-history   use history file for proper loc counts
[java]   -generate-history  regenerates history file (use with 'use-history'
)
[java]
[java] If statcvs cannot recognize the type of your web repository, please u
se the
[java] following switches:
[java]   -viewcvs  integrate with viewcvs installation at 
[java]   -cvsweb   integrate with cvsweb installation at 
[java]   -choraintegrate with chora installation at 
[java]
[java]
[java] [ERROR] Java Result: 1
statcvs:
statcvs:report:
[echo] Generating the Metrics...
maven-jdepend-plugin:report:
Overriding previous definition of reference to clover.classpath
java:prepare-filesystem:
java:compile:
[echo] Compiling to C:\Eclipse\workspace\ERAWeb/target/classes
[echo] Generating the Simian Report...

	



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


Re: How do I include custom files in my distribution?

2003-09-24 Thread __matthewHawthorne
I think you can do this by adding a  element to , 
including your additional files.



Chad Woolley wrote:

Hi,

I want to use the DIST goal, but I also want it to include some
additional files from my project in the zip or gz.  How can I do this?
Thanks,
Chad


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


possibility of more heirarchical repository structure?

2003-09-21 Thread __matthewHawthorne
Has there been any thoughts about making the repository structure more 
heirarchical?

I've commented before about the abundance of commons-* directories in 
the current repository... avalon and excalibur also have quite a few.

The way that I understand it, if a groupId is used, then all of the 
distributions, jars, licenses, and poms for that group go in the same 
directory.  I'm not sure if this would ever cause any conflicts... if 
so, perhaps each group member could still have its own directory for 
these things.

As time goes on, it seems that the repository is going to get larger and 
larger, and it will become more difficult to manage.  Since maven still 
has control over the the logic for downloading jars from the repo, I 
don't think that a migration to a more heirarchical structure would be 
catastropic... maybe the searching mechanism could just be updated.

Any thoughts? Which choice do people prefer?

1. (possible structure)
repo/
jakarta-commons/
commons-beanutils/
commons-lang/
commons-(many more)
jakarta-avalon/
avalon-activation/
avalon-apps/
avalon-(many more)
jakarta-excalibur/
excalibur-altrmi/
excalibur-cli/
excalibur-(many more)

2. (current structure)
repo/
commons-beanutils/
commons-lang/
commons-(many more)
avalon-activation/
avalon-apps/
avalon-(many more)
excalibur-altrmi/
excalibur-cli/
excalibur-(many more)
3. (another possible structure)
repo/
apache.org/
ant/
jakarta/
avalon/
commons/
excalibur/
maven/
		

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


[statcvs-plugin] many changes, but lines of code changed is zero

2003-09-19 Thread __matthewHawthorne
For a particular project, the statcvs plugin reports that I made 71.4% 
of the changes, which seems accurate, but for "Lines of code" and "Lines 
each change", it reports zero, which is wrong.

There are other developers on the project that have accurate statistics. 
 Why would mine be any different?

Has anyone else experienced or seen anything like this?

Any information if greatly appreciated.



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


Re: beta 10 on win2k

2003-07-24 Thread __matthewHawthorne
In win2k, I've been able to load properties from:

\project.properties
C:\Documents and Settings\\build.properties





On Thu, 2003-07-24 at 06:57, Sonnek, Ryan wrote:
> Has anyone out there had issues with beta 10 on win2k picking up properties
> files?  I've just gone through and updated all of our developers from beta 9
> to beta 10, and there were five pc's running win2k that wouldn't pick up
> ~/build.properties.  it also wouldn't pick up PROJECT_HOME/build.properties.
> this was a major problem for us, but I created a temporary hack by creating
> a batch file to pass in the properties to maven.  Has something changed
> since beta 9?
> 
> Ryan
> 
> -
> 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]



multiproject failure in xdoc:register-reports?

2003-07-22 Thread __matthewHawthorne
When running "maven multiproject", I get the following error:

BUILD FAILED
File.. file:/C:/Documents and 
Settings/mhawthorne/.maven/plugins/maven-multiproject-plugin-1.0-SNAPSHOT/
Element... maven:reactor
Line.. 124
Column 9
Unable to obtain goal [site] -- file:/C:/Documents and 
Settings/mhawthorne/.maven/plugins/maven-site-plugin-1.2/:24:42: 
 Goal [xdoc:register-reports] has no action definition.
Total time:  5 seconds

Any suggestions or insights?

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


Re: Dependencies

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



Askren, Jay wrote:

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


   
 Eden
 1.1
 EdenCommon.jar
 EdenShared.jar
 SudsServiceEjb.jar
   


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










Jay.





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



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


Re: reactor tag causing NPE before post-processing

2003-07-15 Thread __matthewHawthorne
You're right.  I saw this in another example and tried it this morning 
with success.  Someone should fix the docs so others don't suffer as we 
have... thanks!



Steven Peterson wrote:

I saw the same issue.  I fixed it by correcting the xmlns attributes
on the project element.
Originally I had the following project root in my maven.xml 
(based on the documentation):


 

changed it to:


 

and all was well with my reactor build.

Steve Peterson
--ProviderLink
-
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]


beta-10 updates for pom:validate and local repo location?

2003-07-14 Thread __matthewHawthorne
When running maven-1.0-beta-10, the first thing I noticed is that the 
local repository is stored in ${user.home}/repository instead of 
$MAVEN_HOME/repository (as it was in beta-9).  This is fine, but the 
documentation should be updated to reflect this.  I can submit a patch 
if no one else has the time.

Also, pom:validate seems to be a lot more aggressive in reporting 
errors.  One problem is that it doesn't seem to handle the  tag 
correctly, it reports errors about missing tags, although the tags are 
included in the extended pom file.  Should this be considered a bug?



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


reactor tag causing NPE before post-processing

2003-07-14 Thread __matthewHawthorne
I am attempting to use the reactor tag, as in the Maven User Guide.  The 
following tag:


Causes the following exception:

BUILD FAILED
java.lang.NullPointerException
   at 
org.apache.commons.jelly.impl.TagScript.configureTag(TagScript.java:512)
   at 
org.apache.commons.jelly.impl.TagScript.getTag(TagScript.java:315)
   at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:228)
   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:116)
   at com.werken.werkz.Goal.fire(Goal.java:639)
   at com.werken.werkz.Goal.attain(Goal.java:575)
   at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:394)
   at org.apache.maven.MavenSession.attainGoals(MavenSession.java:357)
   at org.apache.maven.cli.App.doMain(App.java:524)
   at org.apache.maven.cli.App.main(App.java:1080)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:324)
   at com.werken.forehead.Forehead.run(Forehead.java:543)
   at com.werken.forehead.Forehead.main(Forehead.java:573)
java.lang.NullPointerException
Total time:  2 seconds

I  can't find any specific documentation on the reactor tag.  Can anyone 
see a reason why this exception is occuring?

Any help is appreciated.



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