Re: Modifying the xdocs template files

2003-07-22 Thread Rafal Krzewski
Jefferson K. French wrote:
 Is it possible to override any of the templates in the xdocs plugin,
 besides editing the installed file? I want to change the wording on
 some of the pages, rather than the colors. For instance, since our
 project does not allow anonymous CVS access, I'd like to remove the
 section about anonymous access from cvs-usage.html. I've tried setting
 various properties in an attempt to use different plug-resources or
 templates, but so far to no avail.
 
 I thought this would be something others would have asked, but I
 couldn't find an answer in the archives. Either others don't want to
 do this, or I'm completely missing something!

I don't know if xdoc plugin supports template/stylesheet (I mean xml
transformation stylesheet, not the css) overriding. If the documentation
doesn't say anything about it you can look at the sources of the plugin.

As for CVS instruction page, take a look at issue MAVEN-595. I hope to
get it checked in soon.

R.


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



sun.misc.InvalidJarIndexException: Invalid index!

2003-07-22 Thread Keld Mikkelsen
Hi,

I have installed maven using the build procedure. I had o have our network
people open up the firewall to get it running.

I now try to  execute maven but get the following error when I create a
project.xml file:

Can anybody help?

D:\maven\proj3maven
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-11-SNAPSHOT

sun.misc.InvalidJarIndexException: Invalid index!
at
sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java(Compile
d Code))
at sun.misc.URLClassPath.getResource(URLClassPath.java(Compiled
Code))
at java.net.URLClassLoader$1.run(URLClassLoader.java:353)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findResource(URLClassLoader.java:350)
at java.lang.ClassLoader.getResource(ClassLoader.java:743)
at java.lang.Class.getResource(Class.java:1281)
at
org.apache.commons.betwixt.XMLIntrospector.findByXMLDescriptor(XMLInt
rospector.java:531)
at
org.apache.commons.betwixt.XMLIntrospector.introspect(XMLIntrospector
.java:256)
at
org.apache.commons.betwixt.io.BeanReader.registerBeanClass(BeanReader
.java:143)
at
org.apache.maven.MavenUtils.createBeanReader(MavenUtils.java:560)
at
org.apache.maven.MavenUtils.getProjectBeanReader(MavenUtils.java:324)

at org.apache.maven.MavenUtils.getProject(MavenUtils.java:198)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:160)
at
org.apache.maven.MavenSession.initializeRootProject(MavenSession.java
:324)
at org.apache.maven.MavenSession.initialize(MavenSession.java:234)
at org.apache.maven.cli.App.doMain(App.java:514)
at org.apache.maven.cli.App.main(App.java:1088)
at java.lang.reflect.Method.invoke(Native Method)
at com.werken.forehead.Forehead.run(Forehead.java:543)
at com.werken.forehead.Forehead.main(Forehead.java:573)
Total time:  1 seconds

D:\maven\proj3



Kind regards
Keld Mikkelsen

Email : [EMAIL PROTECTED]





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



Re: - ZIP dependencies -

2003-07-22 Thread Brian Ewins
[resending now my mail is working again...]

Oracle are pretty much unique in still distributing jars as zips, you 
are not alone in having this issue. I'm working on the 'sucks' 
plugin[1], once its finished we should be able to automatically install 
oracle drivers into the correct place in the repo - renamed to jars. 
(ditto all other non-redistributable jars, like Sun's ones)

-Baz

[1] http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-568

Velu VELOUTE wrote:

Hello everybody,

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

!-- Oracle 8i JDBC driver 8.1.7.1 --
dependency
 groupIdjdbc/groupId
 artifactIdclasses12/artifactId
 version8.1.7.1/version
 typezip/type
/dependency
Maven (beta-10) checks into the repository under 
repository/jdbc/zips/classes12-8.1.7.1.zip before building the 
project, that's okay. BUT, it doesn't append this .zip to the classpath. 
I've looked the DependencyClasspathBuilder.java class, the build() 
method only adds jar or ejb dependencies.

Is it possible in a future release to add the zip type ? 


For now, I've dropped the .zip file into the jars subdirectory 
(repository/jdbc/jars/classes12-8.1.7.1.zip) and I use something like 
that (but it's not ideal):

!-- Oracle 8i JDBC driver 8.1.7.1 --
dependency
 groupIdjdbc/groupId
 artifactIdclasses12/artifactId
 version8.1.7.1/version
 jarclasses12-8.1.7.1.zip/jar
/dependency
Thanks,
le Velu Velouté --
_
Trouvez l'âme soeur sur MSN Rencontres ! http://g.msn.fr/FR1000/9551
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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


Re: Running reactor without any goals ?

2003-07-22 Thread Paul Libbrecht
Cool, that's exactly it!

Thanks.

Paul

On Mardi, juil 22, 2003, at 03:10 Europe/Paris, [EMAIL PROTECTED] 
wrote:
Dont set the reactors goals property

Paul Libbrecht [EMAIL PROTECTED] wrote on 22/07/2003 08:36:58 AM:
I'd like to run through a set of projects so as to get their
dependencies... however, I'd like to avoid running any goal.
How can I do that ?


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


Re: AW: Using of appserver:start

2003-07-22 Thread Siegfried Göschl
Hi Henner,

I had a look at maxq and think it is quite promising ... 

+) what type of report or result is maxq returning on  test run?! Can 
you run it as JUnit TestCase

+) Is there support for complex validation?! Can I use everything 
which HTPPUnit supports?!

Thanks in advance,

Siegfried Goeschl



On 21 Jul 2003 at 23:39, Henner Kollmann wrote:

 Hi Eric,
 
 Nice to here you!
 
  
  Sounds to me like you are doing cactus style testing?  The 
  cactus plugin does exactly that.
 No, cactus testing do not help. I can not retrieve posted data with
 cactus and compare the results of a sequence like:
 
 First page,
 Post form results,
 Get next page as result to compare.
 
  
  You could do something like
  goal name=mygoal
  appserver:start
  webtest scripts run 
  appserver:stop
  /goal
 No, that will not work. After the appserver:start the whole process
 stops until you stop it with CTRL-C.
 
  What kinds of tests are you trying to run?
 I found maxq - a nice recorder of client side. I try to integrate the
 so generated tests with maven. Maxq uses the HttpClient package for
 getting client sides.
 
 Regards,
 Henner
 
 
 -
 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: Using Jikes

2003-07-22 Thread Age Mooy

Simply use

build.compiler = jikes

in your project.properties or build.properties and maven will use jikes.

Age

 -Original Message-
 From: Dave Ford [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, July 22, 2003 02:21
 To: Maven Users
 Subject: Using Jikes
 
 
 I found the following property defined under the java plug-in:
 
 maven.compile.executable=/usr/bin/jikes
 
 However, I don't think it does anything for two reasons:
 
 1. Compile time takes exactly the same amount of time 
 regardless of the setting 2. No matter what value I put, I 
 get no error. For example, I can put:
 
 maven.compile.executable=bla bla
 
 And I get the same results. I tried putting the property in:
 
 project-home/project.properties
 
 And also at the command prompt:
 
 maven -Dmaven.compile.executable=/usr/bin/jikes java:compile
 
 What am I doing wrong?
 
 Thanks.
 
 Dave Ford
 Smart Soft - The Developer Training Company http://www.smart-soft.com
 
 
 
 -
 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]



AW: AW: Using of appserver:start

2003-07-22 Thread Henner Kollmann
 
 I had a look at maxq and think it is quite promising ... 
 
 +) what type of report or result is maxq returning on  test run?! Can
 you run it as JUnit TestCase
You can run it as Junit TestCase if you use the CVS Version. The new
version includes a reporting tool wich generates java Junit files.
 
 +) Is there support for complex validation?! Can I use everything 
 which HTPPUnit supports?!
Everything HTTPClient supports.
Or - if you need more - you can write a generator which generates
HTTPUnit classes.

Regards,
Henner


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



Problems with classpath generated by the eclipse plugin

2003-07-22 Thread Christian Goos
Hi,

 

When using the generated .classpath-file from the maven eclipse-plugin I get
a NoClassDefFoundError when I run

the project.

The format of the file is

classpathentry kind=var path=MAVEN_REPO/someGroup/jars/someJar.jar

I generated the MAVEN_REPO-Variable with the eclipse-plugin to point to the
correct path, but it still does not work.

 

The build works fine and eclipse finds the classes to compile the project.
But when I run the program I get the error.

(I can start the program when replacing MAVEN_REPO with the absolute path)

 

Any idea what might cause the problem?

 

Thanks 

Christian

 



Re: jelly:maven and maven Tags + question

2003-07-22 Thread Wijngaarde [Us Media]
What I think the question is if there is specific documentation for the
jelly functionality in the 'maven' namespace.

How I understood jelly is that you can use different jelly libraries by
using namespaces. Probably maven has add some functionality to jelly to
perform maven specific actions. Is there any documentation for this.

For instance, how can I use jelly to find out the target executed by the
user in my maven.xml, I would like to make the action dependent on the
target execute while still using a preGoal tag ?

/ Joel

On Tue, 2003-07-22 at 00:45, [EMAIL PROTECTED] wrote:
 Check out http://maven.apache.org/reference/user-guide.html#maven.xml
 
 There's a link there to the jelly docs
 --
 dIon Gillard, Multitask Consulting
 Blog:  http://blogs.codehaus.org/people/dion/
 Work:  http://www.multitask.com.au
 
 
 Mirko Novakovic [EMAIL PROTECTED] wrote on 21/07/2003 
 11:46:06 PM:
 
  Hello,
  
  I just looked at the Turbine maven.xml and saw that they are jusing 
  jelly:maven and maven Tags and defined the namespaces for them. Some 
  tags like maven:snapshot are very interesting. Where can I find a 
  listing or documentation of both tag-groups? I lokked at the Jelly 
  Libraries Doc 
  (http://jakarta.apache.org/commons/sandbox/jelly/libs/index.html) and 
  the Maven Homepage and I can't find them anywhere...
  
  Thanks.
  
  Mirko
  
  
  -
  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: Hoto use filters before compilation in Maven

2003-07-22 Thread Wijngaarde [Us Media]
You're right! We used it to update some project specific meta
information in the code headers. We're not actively changing code here
using filters ;-).

Where I would like to use it was in the 'web.xml'. This way I could do
with only one 'web.xml' for the staging, development and live server.
Small differences (for instance no error page definitions in the
development 'web.xml' file - so we see all errors clearly) could be done
with filters. Having only one file prevents people adding something in
one 'web.xml' file and forgetting to add / remove / change a similar
line of code in the other 'web.xml' files.


- Joel

On Mon, 2003-07-21 at 23:44, Brett Porter wrote:
 Filtering Java files? Sounds like a recipe for disaster to me... What are
 you trying to do that can't be done by reading properties from an external
 resource file?
 The only thing I can think of is JDK specific code, but most people solve
 this by abstracting it to separate classes and conditionally including it in
 the project.
 
 Cheers,
 Brett
 
 --
 Brett Porter
 Developer, Content  Distribution
 f2 network ~ everything essential
 
 
 -Original Message-
 From: Michal Maczka [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, 22 July 2003 6:59 AM
 To: Maven Users List
 Subject: RE: Hoto use filters before compilation in Maven
 
 
 
 
  -Original Message-
  From: Joël Wijngaarde [Us Media] [mailto:[EMAIL PROTECTED]
  Sent: Monday, July 21, 2003 1:27 PM
  To: 'Maven Users List'
  Subject: Hoto use filters before compilation in Maven
 
 
  Hi,
 
  I'm building a web application for a client. During testing we deploy 
  the application on a staging server. There are some slight differences 
  between the configuration of the staging server and the live 
  environment. Mainly the 'web.xml' and the 'log4j.xml' files, but also 
  some slight differences in the .java files.
 
  In ant we can use the filter tag to perform some changes. We first 
  copy the class files to a new folder using a filter rule and then 
  compile the filtered classes.
 
  Is there a 'standard' way of doing something similar in maven. Or does 
  it require creating 'pre-goals' in a 'maven.xml' file? How I could use 
  filtering inside a maven project?
 
  I will try to add the answers received here in the maven wiki at: 
  http://wiki.codehaus.org/maven/CreatingWebApplications
 
 
 
 Currently in Maven you can do filtering of resources.
 see: http://maven.apache.org/reference/project-descriptor.html#resources
 
 You cannot do this with Java classes (unless you do will create pre-goals).
 
 Michal
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


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



Re: Hoto use filters before compilation in Maven

2003-07-22 Thread Brian Ewins
Theres another way to do that trick without editing your web.xml.

Instead of using a static error page, use a servlet as the front 
controller for error pages. What this servlet does, generally, is 
forward on to appropriate 'real' error pages. Alternatively you can get 
it to show you stack traces and the like (and display something better 
than the 'standard' error page; eg dump the request environment as well).

You're describing different behaviour based on the deployment 
environment, so you really want to use your application's environment to 
get hold of the flags you need (in J2EE apps this is via JNDI, directly 
or indirectly; eg JNDI provides a DataSource, you fetch the flag from a 
DB; JNDI provides a filename, you read it...).

As for the log4j config, the log4j docs themselves give the hint: use a 
config servlet with load-on-startup set, and configure things in there. 
Again, you can get from your environment what log4j.xml to use. In 
practice we try JNDI and if nothing is set up, we default to one inside 
the webapp; that means the 'production' setup is easier to support.

Using the same rationale, the error handler would use a JNDI flag to 
disable error pages in some environments.

Joël Wijngaarde [Us Media] wrote:

You're right! We used it to update some project specific meta
information in the code headers. We're not actively changing code here
using filters ;-).
Where I would like to use it was in the 'web.xml'. This way I could do
with only one 'web.xml' for the staging, development and live server.
Small differences (for instance no error page definitions in the
development 'web.xml' file - so we see all errors clearly) could be done
with filters. Having only one file prevents people adding something in
one 'web.xml' file and forgetting to add / remove / change a similar
line of code in the other 'web.xml' files.
- Joel

On Mon, 2003-07-21 at 23:44, Brett Porter wrote:

Filtering Java files? Sounds like a recipe for disaster to me... What are
you trying to do that can't be done by reading properties from an external
resource file?
The only thing I can think of is JDK specific code, but most people solve
this by abstracting it to separate classes and conditionally including it in
the project.
Cheers,
Brett
--
Brett Porter
Developer, Content  Distribution
f2 network ~ everything essential
-Original Message-
From: Michal Maczka [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 22 July 2003 6:59 AM
To: Maven Users List
Subject: RE: Hoto use filters before compilation in Maven





-Original Message-
From: Joël Wijngaarde [Us Media] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 1:27 PM
To: 'Maven Users List'
Subject: Hoto use filters before compilation in Maven
Hi,

I'm building a web application for a client. During testing we deploy 
the application on a staging server. There are some slight differences 
between the configuration of the staging server and the live 
environment. Mainly the 'web.xml' and the 'log4j.xml' files, but also 
some slight differences in the .java files.

In ant we can use the filter tag to perform some changes. We first 
copy the class files to a new folder using a filter rule and then 
compile the filtered classes.

Is there a 'standard' way of doing something similar in maven. Or does 
it require creating 'pre-goals' in a 'maven.xml' file? How I could use 
filtering inside a maven project?

I will try to add the answers received here in the maven wiki at: 
http://wiki.codehaus.org/maven/CreatingWebApplications


Currently in Maven you can do filtering of resources.
see: http://maven.apache.org/reference/project-descriptor.html#resources
You cannot do this with Java classes (unless you do will create pre-goals).

Michal



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


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



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


Common Directory Layout

2003-07-22 Thread Mirko Novakovic
Hello,

according to description on maven.apache.org source files should be 
played into subdirectories under /src and the test-cases under /src/test.

If I have the following structur that fullfills the rewuiremts of the 
common directory structure:

/src/java_dir_1
/src/java_dir_2
/src/test
how can I tell the POM where my sources are?

if I define
sourceDirectorysrc/sourceDirectory 
as the source directory, than test treated like normal source and the 
eclipse .classpath file is not generated correctly.

I've not found a possibility to define two sourceDirectories like

   sourceDirectorysrc/java_dir_1/sourceDirectory
   sourceDirectorysrc/java_dir_2/sourceDirectory
Thank you.

Mirko



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


Re: Common Directory Layout

2003-07-22 Thread Jason van Zyl
On Tue, 2003-07-22 at 09:08, Mirko Novakovic wrote:
 Hello,
 
 according to description on maven.apache.org source files should be 
 played into subdirectories under /src and the test-cases under /src/test.
 
 If I have the following structur that fullfills the rewuiremts of the 
 common directory structure:
 
 /src/java_dir_1
 /src/java_dir_2
 /src/test
 
 how can I tell the POM where my sources are?

You can only have one location for your java application sources. This
won't change it's been discussed many, many times. Go look in the
archive if you want to find the reasons and some workarounds if you're
desperate for multiple application source directories.

 if I define
 sourceDirectorysrc/sourceDirectory 
 as the source directory, than test treated like normal source and the 
 eclipse .classpath file is not generated correctly.
 
 I've not found a possibility to define two sourceDirectories like
 
 sourceDirectorysrc/java_dir_1/sourceDirectory
 sourceDirectorysrc/java_dir_2/sourceDirectory
 
 
 Thank you.
 
 Mirko
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


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



Re: Using Jikes

2003-07-22 Thread Dave Ford
 build.compiler = jikes
Thanks. Then what is the purpose of maven.compile.executable property
documented under the java goal? Why are there two goals that appear to do
the same thing? Is build.compiler documented anywhere?

Dave Ford
Smart Soft - The Developer Training Company
http://www.smart-soft.com



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



RE: b10 problem compiling (resources:copy missing)

2003-07-22 Thread Lester Ward
 I ran into this yesterday. It turned out that my project.xml 
 was missing
 its build tag. I inserted build/ at the end and all is well.

I had a build tag already, but this did lead me to the solution.

My build tag had an (evidently) outdated tag in it (probably from beta 7,
not sure):
  unitTestPatterns
 unitTestPattern**/*Test.java/unitTestPattern
  /unitTestPatterns

I changed this to what appears to be the new format:
  unitTest
 includes**/*Test.java/includes
  /unitTest

Now it works fine. 

I couldn't find any documentation on this format change, so I'm not sure if
the unitTestPatterns was always wrong, or if this just changed recently.
In any case, it appears that Maven would benefit from doing an XML
validation on the project.xml file. Would have saved me a great deal of
time.

Wordman

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



Dependencies- Separating Test from Compile

2003-07-22 Thread Moretti, Luciano (MED)
Hello-

Is there a way to separate Compile Dependencies from test Dependencies?

We use Hansel to run coverage testing, so I have the following in my
project.xml

dependency
  groupIdhansel/groupId
  artifactIdhansel/artifactId
  version1.0/version
  urlhttp://hansel.sourceforge.org/url
/dependency

But this is only required for testing, not for actual use of the
resulting JAR artifact of this project.

Is there a way to have separate sections on the dependencies page so
that we can separate our dependencies needed for our tests from the
dependencies needed for the actual resulting JAR for our end users?

Thanks,
Luciano

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



Re: Dependencies- Separating Test from Compile

2003-07-22 Thread Dave Ford
 Is there a way to separate Compile Dependencies from test Dependencies?
I was wondering the same thing.

Dave Ford
Smart Soft - The Developer Training Company
http://www.smart-soft.com



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



Re: Dependencies- Separating Test from Compile

2003-07-22 Thread Jason van Zyl
On Tue, 2003-07-22 at 10:30, Dave Ford wrote:
  Is there a way to separate Compile Dependencies from test Dependencies?
 I was wondering the same thing.

It's coming, it's noted in JIRA.

 Dave Ford
 Smart Soft - The Developer Training Company
 http://www.smart-soft.com
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


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



Re: Maven.log chock full of errors?

2003-07-22 Thread Dave Ford
 It is indeed fixed in CVS HEAD.
Is this fix reflected in beta-10? I still get the errors? Specifically:

java.lang.NumberFormatException: For input string: includes

Dave Ford
Smart Soft - The Developer Training Company
http://www.smart-soft.com



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



Re: Site/Multiproject plugins

2003-07-22 Thread Lipper, Matthew
I was wondering whether there was any follow-up to the recently posted:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg01701.html

specifically, I was interested in the resolution of

snip
The other issue is that, while (with the use of multiproject/navigation.xml)
it will generate the index.html with this extra navigation, it doesn't apply
it to my own xdocs in the top-level project (instead it uses
xdocs/navigation.xml, which doesn't have the Projects menu section). 
/snip

I'm having the same problem. I've tried modifying
multiproject/navigation.xml (as mentioned above) . I took a peek at
multiproject plugin.jelly, and it seems that the navigation is created with
the following: 


  velocity:merge 
name=${maven.gen.docs}/navigation.xml
basedir=${plugin.resources}/templates
template=navigation-${navType}.xml/

and a little further down:

!-- FIXME: Will the xdoc stuff screw this up?? --

Anyway, if this issue has not been resolved (I could not find MAVEN-586
JIRA?), could someone recommend a good starting point short of modifying
MAVEN_HOME/plugins/multiproject/templates/*navigation.xml?


Thanks,

Matt






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



Re: Site/Multiproject plugins

2003-07-22 Thread Andy Jefferson
On Tue, 2003-07-22 at 16:54, Lipper, Matthew wrote:
 I was wondering whether there was any follow-up to the recently posted:
 
 http://www.mail-archive.com/[EMAIL PROTECTED]/msg01701.html
 
 specifically, I was interested in the resolution of
 
 snip
 The other issue is that, while (with the use of multiproject/navigation.xml)
 it will generate the index.html with this extra navigation, it doesn't apply
 it to my own xdocs in the top-level project (instead it uses
 xdocs/navigation.xml, which doesn't have the Projects menu section). 
 /snip
 
 I'm having the same problem. I've tried modifying
 multiproject/navigation.xml (as mentioned above).

I added the following to my xdocs/navigation.xml

menu name=Projects
item name=MyProject-Beans
href=multiproject/MyProject-Beans/index.html/
item name=WebShop-App
href=multiproject/MyProject-App/index.html/
/menu

This results in your own docs for your main project getting this
navigation added, so you can navigate to your subprojects from the main
project level. The multiproject/navigation.xml is added to index.html
only. Its only a workaround to the problem and not a fix ... we need
Maven to do it automatically.

 Anyway, if this issue has not been resolved (I could not find MAVEN-586
 JIRA?), could someone recommend a good starting point short of modifying
 MAVEN_HOME/plugins/multiproject/templates/*navigation.xml?

You can find the raised issue here ...
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-586


-- 
Andy

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



RE: Site/Multiproject plugins

2003-07-22 Thread Lipper, Matthew
Hey Andy,

So, in other words, for the top-level project remove
multiproject/navigation.xml and place it in xdocs/navigation.xml
hardcoded with generated sub-project URLs...ahh, right!

Thanks for the tip!

Matt

-Original Message-
From: Andy Jefferson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 12:32 PM
To: Maven Users List
Subject: Re: Site/Multiproject plugins


On Tue, 2003-07-22 at 16:54, Lipper, Matthew wrote:
 I was wondering whether there was any follow-up to the recently posted:
 
 http://www.mail-archive.com/[EMAIL PROTECTED]/msg01701.html
 
 specifically, I was interested in the resolution of
 
 snip
 The other issue is that, while (with the use of
multiproject/navigation.xml)
 it will generate the index.html with this extra navigation, it doesn't
apply
 it to my own xdocs in the top-level project (instead it uses
 xdocs/navigation.xml, which doesn't have the Projects menu section). 
 /snip
 
 I'm having the same problem. I've tried modifying
 multiproject/navigation.xml (as mentioned above).

I added the following to my xdocs/navigation.xml

menu name=Projects
item name=MyProject-Beans
href=multiproject/MyProject-Beans/index.html/
item name=WebShop-App
href=multiproject/MyProject-App/index.html/
/menu

This results in your own docs for your main project getting this
navigation added, so you can navigate to your subprojects from the main
project level. The multiproject/navigation.xml is added to index.html
only. Its only a workaround to the problem and not a fix ... we need
Maven to do it automatically.

 Anyway, if this issue has not been resolved (I could not find MAVEN-586
 JIRA?), could someone recommend a good starting point short of modifying
 MAVEN_HOME/plugins/multiproject/templates/*navigation.xml?

You can find the raised issue here ...
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-586


-- 
Andy

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

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



Missing jelly tags (with solution)

2003-07-22 Thread Lester Ward
I have a maven.xml file from (from at least beta 7) with the following
declarations:

project xmlns:reactor=reactor xmlns:j=jelly:core
xmlns:i=jelly:interaction xmlns:log=jelly:log xmlns:m=maven
xmlns:texen=texen


I just upgraded to b10, and the jelly:interaction and jelly:log tags now
cause trouble. Running any goal (even console) generates
ClassNotFoundExceptions. It appears that these two jelly tags used to ship
with Maven, but no longer do.

I have found that if it put commons-jelly-tags-log-20030211.142821.jar and
commons-jelly-tags-interaction-20030211.143817.jar in $MAVEN_HOME/lib, then
everything works fine.

This is not an adequate solution, however, as it requires all project
members to tinker with their maven install individually.

Adding these lines to my dependency section also work:

  dependency
 idcommons-jelly/id
 artifactIdcommons-jelly-tags-interaction/artifactId
 version20030211.143817/version
  /dependency
  dependency
 idcommons-jelly/id
 artifactIdcommons-jelly-tags-log/artifactId
 version20030211.142821/version
  /dependency

This is still vaugely unsatisfying, as the dependency section of the project
is supposed to be what the project itself needs, not what its build system
requires.

Alternative suggestions most welcome.

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



Re: Developer Activity Plugin Problems

2003-07-22 Thread Andy Jefferson
On Tue, 2003-07-22 at 18:54, Moretti, Luciano (MED) wrote:
 Hello-
 
 I'm having a problem with the Developer activity page not displaying
 info.
 The file activity page works correctly, and lists the developers there,
 but the Developer Activity page doesn't display the data in the table.
 It does show the statistics at the top of the page (Total commits  # of
 files changed)
 
 Any ideas?  I'm using Maven b10

Have you defined the id parts of the developers section of
project.xml. I think that report uses the ids there to do look-ups to
the CVS id's to write the names of the developers - maybe if it can't
index across from the CVS id to the developer id it ignroes the data ?
Just a thought


-- 
Andy

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



Andrew Mace is out of the office.

2003-07-22 Thread Andrew Mace
I will be out of the office starting  22/07/2003 and will not return until 28/07/2003.

I will respond to your message when I return.


--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.



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



RE: Developer Activity Plugin Problems

2003-07-22 Thread Moretti, Luciano (MED)
Thanks-

I didn't have the id tags in my project.xml
It's working great now.

Luciano

-Original Message-
From: Andy Jefferson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 1:06 PM
To: Maven Users List
Subject: Re: Developer Activity Plugin Problems


On Tue, 2003-07-22 at 18:54, Moretti, Luciano (MED) wrote:
 Hello-
 
 I'm having a problem with the Developer activity page not displaying
 info.
 The file activity page works correctly, and lists the developers
there,
 but the Developer Activity page doesn't display the data in the table.
 It does show the statistics at the top of the page (Total commits  #
of
 files changed)
 
 Any ideas?  I'm using Maven b10

Have you defined the id parts of the developers section of
project.xml. I think that report uses the ids there to do look-ups to
the CVS id's to write the names of the developers - maybe if it can't
index across from the CVS id to the developer id it ignroes the data ?
Just a thought


-- 
Andy

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

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



Re: Missing jelly tags (with solution)

2003-07-22 Thread Paul Libbrecht
Lester Ward wrote:
  dependency
 idcommons-jelly/id
 artifactIdcommons-jelly-tags-log/artifactId
 version20030211.142821/version
  /dependency
This is still vaugely unsatisfying, as the dependency section of the project
is supposed to be what the project itself needs, not what its build system
requires.
Alternative suggestions most welcome.
I think the dependency approach is not that crazy if we have flags or 
roles for the dependencies.

Something like:

   dependency
  idcommons-jelly/id
  artifactIdcommons-jelly-tags-log/artifactId
  version20030211.142821/version
  usedIn role=maven-jelly/
  usedIn role=jUnit-tests/
   /dependency
seems to be decent to me...
(and the problem is the same for unit-test things).
Paul

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


Re: Problem with jxr b10

2003-07-22 Thread Ben Walding
Do you have a python dependency?

(I know this sounds like an absurd question, but the python dep includes 
an older oro dependency. Classloader isolation isn't perfect yet)

Lester Ward wrote:

More migration to b10 woe. I'm having an issue with jxr throwing an
exception during site:generate. This seems similar to a problem from b9
(http://www.mail-archive.com/[EMAIL PROTECTED]/msg01460.html), but the
symptoms are not exactly the same, nor does the solution in the above thread
work.
The site:generate runs for quite a while, getting to the point where I see
output like this (where path-* is a valid path):
	path-a\ZipCompressor.java - path-b\ZipCompressor.html

I then get this:

BUILD FAILED
File.. path/maven-jxr-plugin-1.2-SNAPSHOT/
Element... jxr:jxr
Line.. 90
Column 31
java.lang.reflect.InvocationTargetException
Line 90 in the jxr plugin is the main jxr:jxr call, so I get the impression
that all of the file processing is getting done (since ZipCompressor is the
last class), but then something goes wrong.
When running in -X mode, I get this stack:

com.werken.werkz.UnattainableGoalException: Unable to obtain goal [site] --
path
/maven-jxr-plugin-1.2-SNAPSHOT/:90:31: jxr:jxr null
   at com.werken.werkz.Goal.fire(Goal.java:646)
   at com.werken.werkz.Goal.attain(Goal.java:575)
   at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
   at com.werken.werkz.Goal.attain(Goal.java:573)
   at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:434)
   at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
   at org.apache.maven.cli.App.doMain(App.java:525)
   at org.apache.maven.cli.App.main(App.java:1088)
   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)
org.apache.commons.jelly.JellyTagException:
path/maven-jxr-plugin-1.2-SNAPSHOT/:
90:31: jxr:jxr null
   at
org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.java:243)
   at
org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:145)
   at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
   at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
   at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
   at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
   at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
   at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
   at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
   at com.werken.werkz.Goal.fire(Goal.java:639)
   at com.werken.werkz.Goal.attain(Goal.java:575)
   at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
   at
com.werken.werkz.jelly.AttainGoalTag.doTag(AttainGoalTag.java:134)
   at
org.apache.maven.jelly.tags.werkz.LazyAttainGoalTag.doTag(LazyAttainGoalTag.
java:107)
   at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
   at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
   at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
   at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
   at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
   at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
   at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
   at
org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:145)
   at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
   at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
   at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
   at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
   at com.werken.werkz.Goal.fire(Goal.java:639)
   at com.werken.werkz.Goal.attain(Goal.java:575)
   at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
   at
com.werken.werkz.jelly.AttainGoalTag.doTag(AttainGoalTag.java:134)
   at
org.apache.maven.jelly.tags.werkz.LazyAttainGoalTag.doTag(LazyAttainGoalTag.
java:107)
   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)
   

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: 
attainGoal 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: multiproject failure in xdoc:register-reports?

2003-07-22 Thread dion
Your maven.multiproject.includes/excludes properties are including the 
project you are running 'maven multiproject' from. This is currently not 
supported.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


__matthewHawthorne [EMAIL PROTECTED] wrote on 23/07/2003 
08:47:50 AM:

 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: 
 attainGoal 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: Site/Multiproject plugins

2003-07-22 Thread dion
I've recently fixed this, so that what was previously in 
multiproject/navigation.xml is now in xdocs/navigation.xml.

Let me know if u need a sample
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Lipper, Matthew [EMAIL PROTECTED] wrote on 23/07/2003 03:33:46 AM:

 Gotcha. Thanks!
 
 -Original Message-
 From: Andy Jefferson [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, July 22, 2003 1:09 PM
 To: Maven Users List
 Subject: RE: Site/Multiproject plugins
 
 
 Hi Matthew,
 
  So, in other words, for the top-level project remove
  multiproject/navigation.xml and place it in xdocs/navigation.xml
  hardcoded with generated sub-project URLs...ahh, right!
 
 No, you need BOTH navigation.xml files. The multiproject one is added to
 the index.html page, the xdocs ones is added to any pages that you have
 yourself.
 
 To see the end-result on a site, go to
 http://www.ajsoft.net/Products/WebShop/
 All pages have a Projects section in the side menu, with associated
 projects under that heading.
 
 
 -- 
 Andy
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


RE: multiproject Plugin

2003-07-22 Thread dion
Deployed to 
http://www.ibiblio.org/maven/maven/jars/maven-multiproject-plugin-SNAPSHOT.jar
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Sonnek, Ryan [EMAIL PROTECTED] wrote on 23/07/2003 01:35:10 AM:

 Has a new SNAPSHOT of the plugin been rebuilt and placed on ibiblio or 
do we
 need to wait for RC1?
 
 -Original Message-
 From: Alwyn Schoeman [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, July 17, 2003 11:17 PM
 To: Maven Users List
 Subject: Re: multiproject Plugin
 
 While we are on the multiproject subject.
 
 Am I the only one who get errors of j:set not supporting attribute
 'name'?
 
 I needed to change this to the correct 'value' for it to work for me,
 but it seems to not happen to other people...
 
 
 -- 
 Alwyn Schoeman
 SMART Money Inc.
 
 If you're a SMARTY and you're using the better DNS connections, you
 can access my homepage at http://nevyn.smarties.com.ph/Members/alwyn.
 The other unlucky ones: http://10.126.136.35/myplone
 
 -
 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: Using Jikes

2003-07-22 Thread dion
Dave Ford [EMAIL PROTECTED] wrote on 22/07/2003 11:44:12 PM:

  build.compiler = jikes
 Thanks. Then what is the purpose of maven.compile.executable property
 documented under the java goal? Why are there two goals that appear to 
do

maven.compile.executable == Complete path to the javac executable to use 
in case of fork=yes. Defaults to the compiler of the Java version that 
is currently running. Ignored if fork=no 


 the same thing? Is build.compiler documented anywhere?
build.compiler is documented at 
http://ant.apache.org/manual/CoreTasks/javac.html

The two are different things.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Re: Maven.log chock full of errors?

2003-07-22 Thread dion
These errors are not related to the ant ones mentioned in the quoted 
email.

If you can tell me where these are coming from, I'll help u fix it.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Dave Ford [EMAIL PROTECTED] wrote on 23/07/2003 01:01:05 AM:

  It is indeed fixed in CVS HEAD.
 Is this fix reflected in beta-10? I still get the errors? Specifically:
 
 java.lang.NumberFormatException: For input string: includes
 
 Dave Ford
 Smart Soft - The Developer Training Company
 http://www.smart-soft.com
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


Re: jelly:maven and maven Tags + question

2003-07-22 Thread dion
Joël Wijngaarde [Us Media] [EMAIL PROTECTED] wrote on 22/07/2003 
10:39:30 PM:

 What I think the question is if there is specific documentation for the
 jelly functionality in the 'maven' namespace.

See http://maven.apache.org/tags.html . Does that help?
 
 How I understood jelly is that you can use different jelly libraries by
 using namespaces. Probably maven has add some functionality to jelly to
 perform maven specific actions. Is there any documentation for this.
 
 For instance, how can I use jelly to find out the target executed by the
 user in my maven.xml, I would like to make the action dependent on the
 target execute while still using a preGoal tag ?
I've got no idea on that one.

--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/




Re: Dependencies- Separating Test from Compile

2003-07-22 Thread dion
Every time I hear the cry of separating dependencies, I think of creating 
a new project
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Paul Libbrecht [EMAIL PROTECTED] wrote on 23/07/2003 06:29:33 AM:

 Jason van Zyl wrote:
  On Tue, 2003-07-22 at 10:30, Dave Ford wrote:
  
 Is there a way to separate Compile Dependencies from test 
Dependencies?
 
 I was wondering the same thing.
  It's coming, it's noted in JIRA.
 
 Maybe it's a good approach for now to add schema-compliant properties 
 that mark this ? properties name=test value=true/ ??
 
 Paul
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


Re: sun.misc.InvalidJarIndexException: Invalid index!

2003-07-22 Thread dion
Looks like a bad jar file.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


Keld Mikkelsen [EMAIL PROTECTED] wrote on 22/07/2003 06:21:49 
PM:

 Hi,
 
 I have installed maven using the build procedure. I had o have our 
network
 people open up the firewall to get it running.
 
 I now try to  execute maven but get the following error when I create a
 project.xml file:
 
 Can anybody help?
 
 D:\maven\proj3maven
  __  __
 |  \/  |__ _Apache__ ___
 | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
 |_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-11-SNAPSHOT
 
 sun.misc.InvalidJarIndexException: Invalid index!
 at
 sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java(Compile
 d Code))
 at sun.misc.URLClassPath.getResource(URLClassPath.java(Compiled
 Code))
 at java.net.URLClassLoader$1.run(URLClassLoader.java:353)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findResource(URLClassLoader.java:350)
 at java.lang.ClassLoader.getResource(ClassLoader.java:743)
 at java.lang.Class.getResource(Class.java:1281)
 at
 org.apache.commons.betwixt.XMLIntrospector.findByXMLDescriptor(XMLInt
 rospector.java:531)
 at
 org.apache.commons.betwixt.XMLIntrospector.introspect(XMLIntrospector
 .java:256)
 at
 org.apache.commons.betwixt.io.BeanReader.registerBeanClass(BeanReader
 .java:143)
 at
 org.apache.maven.MavenUtils.createBeanReader(MavenUtils.java:560)
 at
 org.apache.maven.MavenUtils.getProjectBeanReader(MavenUtils.java:324)
 
 at org.apache.maven.MavenUtils.getProject(MavenUtils.java:198)
 at org.apache.maven.MavenUtils.getProject(MavenUtils.java:160)
 at
 org.apache.maven.MavenSession.initializeRootProject(MavenSession.java
 :324)
 at 
org.apache.maven.MavenSession.initialize(MavenSession.java:234)
 at org.apache.maven.cli.App.doMain(App.java:514)
 at org.apache.maven.cli.App.main(App.java:1088)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.werken.forehead.Forehead.run(Forehead.java:543)
 at com.werken.forehead.Forehead.main(Forehead.java:573)
 Total time:  1 seconds
 
 D:\maven\proj3
 
 
 
 Kind regards
 Keld Mikkelsen
 
 Email : [EMAIL PROTECTED]
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


Re: Jmeter/Maven integration

2003-07-22 Thread dion
Mark McBride [EMAIL PROTECTED] wrote on 22/07/2003 07:46:51 AM:

 Hi,
 
 Does anyone have advice with running Jmeter from maven?
I run jmeter standalone and then use the results as per the Latka plugin.

 I see two options:
 Use the jmeter-ant task
 Which works great but doesn't have a maven report for it.
That'd be cool.

 Use the latka maven plug-in which converts jmeter test plans.
 This looks nice but it doesn't seem to convert everything over.
Yep, it just converts to Latka tests.

 Maybe this is a good time to write a jmeter plug-in for maven =)
I'd love to have one.

 Also does anyone know of any tools for trending the jmeter results?
NIKO.

dIon