RE: weblogic tools for maven

2005-01-05 Thread Jason van Zyl
On Tue, 2005-01-04 at 22:37, Vincent Massol wrote: I looked at the weblogic plugin at SF and it uses CLI execution which is better than using Ant tasks. Can the Weblogic tools be loaded from the classpath and be used in-process? Would Cargo (http://cargo.codehaus.org) help? (It is

RE: weblogic tools for maven

2005-01-05 Thread Vincent Massol
-Original Message- From: Jason van Zyl [mailto:[EMAIL PROTECTED] Sent: mercredi 5 janvier 2005 09:02 To: Maven Users List Subject: RE: weblogic tools for maven On Tue, 2005-01-04 at 22:37, Vincent Massol wrote: I looked at the weblogic plugin at SF and it uses CLI execution

Re: giving dependencies without version?

2005-01-05 Thread rajas kumar
i tried like this with out giving version its giving compilation errors. privious dependency is like this dependency groupIdjsf/groupId artifactIdjsf-api/artifactId

Goals

2005-01-05 Thread Richard . Batchelor
Hi all, Is there a goal that runs before dependencies are downloaded, that I could attach some Jelly code (pregoal/postgoal) to alter the maven.mode.online property value programmatically? In fact, extending the question further, are there 'internal' goals that always execute whenever you run

submitting a file to Perforce using Maven

2005-01-05 Thread Mahen Perera
Hi Everybody, I am in the process of writing a maven automated build script file. The SCM used is Perforce. I have succcessfully writen and tested the p4sync task and got the latest code in to my local machine. However, i am not sure as to how to do a submit. I have used the following

Re: Goals

2005-01-05 Thread Brett Porter
build:start, but it is still after dependencies are resolved. You'll need to set the system property (perhaps using the MAVEN_OPTS env var). - Brett On Wed, 5 Jan 2005 09:11:15 -, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, Is there a goal that runs before dependencies are

Re: giving dependencies without version?

2005-01-05 Thread Dion Gillard
Paste us in your exact dependency and the exact location of the file. This does work. One of them must be out of synch with the other. On Wed, 5 Jan 2005 00:57:56 -0800 (PST), rajas kumar [EMAIL PROTECTED] wrote: i tried like this with out giving version its giving compilation errors.

Maven Ear plugin case sensitivity issue

2005-01-05 Thread James Richardson
Hi, I'm having a lot of trouble with the case sensitivity aspect of the plugin. The problem is that it doesn't check for case sensitivity! - but rather that the file paths match. This presents a problem when working on automounted filesystems, where the canonical and absolute filesystem names

Re: Maven Ear plugin case sensitivity issue

2005-01-05 Thread Dion Gillard
If you are using 1.6 of the ear plugin, you should upgrade to a later release. See http://maven.apache.org/reference/plugins/ear/announcements/announcement-1.6.1.txt and http://maven.apache.org/reference/plugins/ear/downloads.html I agree the check should only be on the project/types/file

RE: Maven Ear plugin case sensitivity issue

2005-01-05 Thread James Richardson
1.6 will fail to build completely (caught me out for a while, as cruise was using 1.6, and I was using 1.5, which worked perfectly) 1.6.1 still outputs 20 lines of text for each component...but I don't understand quite what it is trying to achieve.. (Is that because case problems don't happen if

JavaNCSS plugin issue (hangs)

2005-01-05 Thread James Richardson
I've noticed that the Java ncss plugin will hang indefinitely if there are no java source files to count. This can happen, if for example, your subproject contains only auto-generated code (e.g. castor). A src/java directory is required to convince maven that there is any thing at all to

Re: JavaNCSS plugin issue (hangs)

2005-01-05 Thread Siegfried Goeschl
Hi James, I will have a look at it - I need to cross-check since this is actually a JavaNCSS bug. There are a few workaround to skip the JavaNCSS report depending on your setup, the best is probably using maven.javancss.enable=false in the build.properties for your affected project. In this

RE: Maven Ear plugin case sensitivity issue

2005-01-05 Thread Felipe Leme
Hi James, On Wed, 5 Jan 2005 12:18:41 +, James Richardson [EMAIL PROTECTED] wrote: 1.6.1 still outputs 20 lines of text for each component...but I don't understand quite what it is trying to achieve.. (Is that because case problems don't happen if you develop on linux?) It tries to solve

Re: Maven Ear plugin case sensitivity issue

2005-01-05 Thread Dion Gillard
How about: 3) ony check the artifact/types/artifact-version.type part of the overall file name? On Wed, 5 Jan 2005 11:44:38 -0200, Felipe Leme [EMAIL PROTECTED] wrote: Hi James, On Wed, 5 Jan 2005 12:18:41 +, James Richardson [EMAIL PROTECTED] wrote: 1.6.1 still outputs 20 lines

Re: Was5 remote deployments

2005-01-05 Thread Louis Burroughs
The Maven/build side is building an ear, and executing was5:run-script. I need to know if I need a local WebSphere install in order to execute was5:run-script, or if there is a way to attain this goal on a remote server. When I tried to run was5:run-script with a different host than the

Classpath for ant:style or xml:transform tags

2005-01-05 Thread Andrew Thornton
Hi, I'm trying to use an extension function in an XSLT stylesheet however in order to do so, I need to set the classpath on the transformer to include the jar containing this function. After source diving I finally managed to work out that ${pom.getDependencyPath('groupid:artifactid')} would

RE: weblogic tools for maven

2005-01-05 Thread Ryan, Scott
How do we get these issues resolved? Should we make up a list of capabilities we want and determine which project serves them best. I am not sure where the workshop stuff would reside. Maybe a separate project for the workshop plugin and use Cargo and the Weblogic plugin for the rest. I think

RE: Maven Ear plugin case sensitivity issue

2005-01-05 Thread James Richardson
Seems to me like the problem will only affect windows development, and then only if the user is lazy with capitalisation. Requiring all users to set a flag to ignore the spurious error that this check generates seems counter-intuitive. In addition, the warning is completely over the top. At

hsql DB startup

2005-01-05 Thread Charles N. Harvey III
Hello. I have been doing lots of reading about how great it is to use an in-process DB like Hypersonic for testing. Thing is, there are not many examples of how to do this. What I want to do is start an in-memory DB (not a file DB because the test is small) when I run my tests, and then run

Variables in Maven

2005-01-05 Thread Randy Xu
I don't have a terribly good grasp of Ant and now I'm converting a lot of ant scripts into Maven. Is there a definitive guide to the differences between property, attribute, param, j:set var, the differences between them and the differences between Maven and Ant? Is there one definitively

Re: Variables in Maven

2005-01-05 Thread Randy Xu
Two additional questions: 1) Within a goal, I want to run something (in this case post-process) by default, unless the user doesn't want to. I was thinking it could check a variable called skip_post_process. If it's false or not set it rus the post-processor. If it's true, it doesn't. Any

Re: Can I do this with maven?

2005-01-05 Thread Alexander Rupsch
Hi Brett, Have you read the articles about J2EE linked from the Maven website? Here is a newer unpublished version of that document: http://www.apache.org/~brett/site-2/reference/articles.html I read some of the articles and I think I have some basic knowledge now. But there are still

Re: hsql DB startup

2005-01-05 Thread Joe Germuska
At 11:35 AM -0500 1/5/05, Charles N. Harvey III wrote: Hello. I have been doing lots of reading about how great it is to use an in-process DB like Hypersonic for testing. Thing is, there are not many examples of how to do this. What I want to do is start an in-memory DB (not a file DB because

Re: hsql DB startup

2005-01-05 Thread Jake Ewerdt
I set up the HSQL database in the JUnit TestSetup. This drops and re-creates the database for each test class that need the database, but the overhead is quite low, only a few test classes need the database running, and it ensures left over database artifacts will not have any side-effects on

Re: hsql DB startup

2005-01-05 Thread Charles N. Harvey III
This is exactly what I was looking for. I'm still playing with it to get it to work out correctly, but it is in the right direction, thanks. If I write a TestSuite (AllTests.java), will it run first? That's one thing that I was never sure of. Do the tests all run individually or does the Suite

[ANN] Maven uber-dist Plugin 1.0.10 released on Sourceforge

2005-01-05 Thread Eric Giguere
The maven team is pleased to announce the Maven Uberdist plugin 1.0.10 release! Although it is now version 1.0.10, this is the first public release of the plugin. More info can be found at: http://sourceforge.net/projects/uber-dist/ This plugin provides a mechanism to build what we may call a

Re: hsql DB startup

2005-01-05 Thread Jake Ewerdt
This all has to do with JUnit, nothing maven specific. If you want to write a TestSuite that runs all of the tests you specify, you can use a solution like http://junit.sourceforge.net/doc/faq/faq.htm#organize_3. I'm almost positive that maven will not pick up a test class unless the name of

hsql DB startup

2005-01-05 Thread Janos Mucsi
But this means your live system also has to run using HSQL otherwise this test does not make sense right? (Because of the differences in the SQL dialects, for example.) I set up the HSQL database in the JUnit TestSetup. This drops and re-creates the database for each test class that need the

Re: [ANN] Maven uber-dist Plugin 1.0.10 released on Sourceforge

2005-01-05 Thread Brett Porter
Can you please fix your announcements so it isn't from the maven team? Thanks. If you need better infrastructure such as a maven repository to deploy to that is sync'd to ibiblio, it might be worth moving this to maven-plugins.sf.net, and you could participate in the other plugins there too.

Re: hsql DB startup

2005-01-05 Thread Jake Ewerdt
This is why and how we use HSQL for testing. - It is much faster for developers who are in the habit of continuous testing to use HSQL instead of (for example) Oracle. - We don't have enough Oracle resources (connections, accounts, cpu) to support all the developers using it for continuous

Re: Classpath for ant:style or xml:transform tags

2005-01-05 Thread Brett Porter
what JAR are you trying to add? Is it xalan itself? There is a problem under some JDKs because xalan needs to be endorsed. Details are in the FAQ. Cheers, Brett On Wed, 05 Jan 2005 14:38:33 +, Andrew Thornton [EMAIL PROTECTED] wrote: Hi, I'm trying to use an extension function in an

referencing goal name/maven.dependency.classpath

2005-01-05 Thread Randy Xu
Three questions. 1) Anyone know how to reference the goal's name within a goal? I'm creating error messages now and it'd be a lot cleaner if I can just output: fail message=[${goal.name}] crap crap crap / 2) If 1 is answerable, is this generalizable to other goal/project variables too? 3)

Re: referencing goal name/maven.dependency.classpath

2005-01-05 Thread Brett Porter
1 2 - no. werkz doesn't expose any of its information to jelly. 3 - ${pom.artifacts}. The war plugin does exactly what you want, so its worth looking in its source. - Brett On Wed, 05 Jan 2005 18:59:50 -0500, Randy Xu [EMAIL PROTECTED] wrote: Three questions. 1) Anyone know how to

Re: referencing goal name/maven.dependency.classpath

2005-01-05 Thread Randy Xu
Brett Porter wrote: 1 2 - no. werkz doesn't expose any of its information to jelly. 3 - ${pom.artifacts}. The war plugin does exactly what you want, so its worth looking in its source. yep thanks! just to avoid confusion - I was wrong about #3. It doesn't include ALL dependencies. It's

MPNATIVE-10 fix, where is it?

2005-01-05 Thread dan tran
Jira shows it is fixed but i dont see it in CVS I used the instruction on maven's plugin page to download the code Any suggestion? -Dan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: MPNATIVE-10 fix, where is it?

2005-01-05 Thread Brett Porter
The site needs to be republished. It has moved to subversion. svn co http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk Cheers, Brett On Wed, 5 Jan 2005 16:40:45 -0800, dan tran [EMAIL PROTECTED] wrote: Jira shows it is fixed but i dont see it in CVS I used the instruction on

Re: Variables in Maven

2005-01-05 Thread Brett Porter
Try reading dIon Gillard's blog for some Jelly tips. On Wed, 05 Jan 2005 11:41:59 -0500, Randy Xu [EMAIL PROTECTED] wrote: I don't have a terribly good grasp of Ant and now I'm converting a lot of ant scripts into Maven. Is there a definitive guide to the differences between property,

Goal to compile only certain classes

2005-01-05 Thread Randy Xu
Short of circumventing or overwriting java:compile, is there a way to compile only certain classes in a project? I'd like the default behavior to be compile everything in /src/java but I want to define a target to compile everything except one directory. I know how to addPath but is there

Re: JNLP Plugin: use JAR files that are signed by different certificates?

2005-01-05 Thread Gezerk
I am trying to use the JNLP extensions (jnlp plugin 1.4.1, Maven 1.01). I have two issues, if I specify a jar is an extenision (using properties extension tags from the jnlp home page example). The dependancies I specify as extensions do not get copied to the jnlp.dir. Is this right? On Thu,

hsql DB startup

2005-01-05 Thread Janos Mucsi
This is not a strictly Maven question. Hi Jake This sounds very interesting. I have two questions: 1. Is testing against an in-process database a better idea than using mock-objects to fake Connection, ResultSet, etc? (I need to test some hand-coded JDBC DAOs which I will redevelop later with