Passing -enableassertions to UnitTests

2003-10-24 Thread Rademacher Tobias
Hi Folks, Is is possible to pass -enableassertions (or -ea) to UnitTests runs (test:test)? If yes how, if no do you plan to support it? Thx Toby - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: How to start projects with Maven

2003-10-24 Thread Timothy Fisher
Well said Paul. There is great value in Paul's comments regarding not letting your build process be tied to your IDE. Requiring your IDE to perform the build is a very bad practice and a path that I would not reccommend going down. I've been doing development for many years, and have worked

RE: How to start projects with Maven

2003-10-24 Thread O'Fallon, Paul (MAN-Corporate)
You're welcome! We're new at this too. I'm in the process of rolling out maven to the dozen or so projects within my department. I've focused primarily on architecting the build environment (multiproject builds, project inheritance, etc.) One of my developers is working out the kinks with getti

Re: Maven eclipse plug-in bug

2003-10-24 Thread Kohsuke Kawaguchi
> Is this a difference between eclipse 2 and 3? It's been long since I threw away 2.0... Is there any 2.0/2.1 user to testify? regards, -- Kohsuke Kawaguchi Sun Microsystems [EMAIL PROTECTED] - To unsubscrib

RE: How to start projects with Maven

2003-10-24 Thread Vikas Phonsa
Paul, Yeah paul I have kinda figured out the things. But tell me a thing, are the programmers working with you happy with having to do all this work, particularly running genapp outside the IDE. I want to propose using Maven to other programmers in my company who have been working solely with the

RE: How to start projects with Maven

2003-10-24 Thread O'Fallon, Paul (MAN-Corporate)
You should run "maven genapp" first (outside of your IDE), then cd into the directory genapp created (the one with your project.xml file) and run "maven eclipse" (still outside of your IDE). Then you can run your IDE against the project. I imagine that you'll need to run "maven eclipse" each time

RE: How to start projects with Maven

2003-10-24 Thread Vikas Phonsa
Paul, I have read the documentation. But there are somethings that I fully figure out. I have been able to configure maven as an external tool in Eclipse. I want to use the genapp plugin to generate a new project. It seems that eclipse won't allow me to do that by just going to the external tools

RE: How to start projects with Maven

2003-10-24 Thread Vikas Phonsa
Yeah Paul, You are the man !! It works. Thanks Vikas -Original Message- From: O'Fallon, Paul (MAN-Corporate) [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 2:28 PM To: Maven Users List Subject: RE: How to start projects with Maven Try using forward slashes (/) instead of bac

RE: How to start projects with Maven

2003-10-24 Thread O'Fallon, Paul (MAN-Corporate)
Try using forward slashes (/) instead of backslashes (\) in your directory names (even on Windows). Ours are several levels deep and work fine. - Paul > -Original Message- > From: Vikas Phonsa [mailto:[EMAIL PROTECTED] > Sent: Friday, October 24, 2003 5:17 PM > To: 'Maven Users List' >

RE: How to start projects with Maven

2003-10-24 Thread Vikas Phonsa
Ok Paul, I'm reading thru all that. But take a look at this. I used this build.properties file to run the eclipse:external-tools goal. maven.eclipse.workspace=C:\wsad_workspaces\JakartaTesting maven.eclipse.junit=3.7.0 maven.eclipse.output.dir=C:\wsad_workspaces\JakartaTesting\NewMaven\classes mav

RE: How to start projects with Maven

2003-10-24 Thread O'Fallon, Paul (MAN-Corporate)
Take some time and read through the user's guide (http://maven.apache.org/reference/user-guide.html) It will help give you a conceptual understanding of how things work (the section on "Properties Processing" answers your questions about setting properties). There is also a section in the user's

RE: How to start projects with Maven

2003-10-24 Thread Vikas Phonsa
Hi Paul, Your email shows direction. But I very new to Maven and just finished my first tutorial. Could you guide how should I proceed with this eclipse plug in. I couldn't find any instructions abt that on the website. The genapp and eclipses plugin webpages list some properties. Where do I set

RE: How to start projects with Maven

2003-10-24 Thread O'Fallon, Paul (MAN-Corporate)
Look at the genapp plugin http://maven.apache.org/reference/plugins/genapp/ As for IDE integration, look at the eclipse plugin http://maven.apache.org/reference/plugins/eclipse/ (although it took some additional effort for us to get this to work with WSAD...) HTH, Paul > -Original Message---

Re: Debugging Dependencies

2003-10-24 Thread Javier del Gesu
* Javier del Gesu <[EMAIL PROTECTED]> [2003-10-24 19:10]: > Hello All > > I want to be able to trace into Xerces/Xalan/Xindice/Cocoon/Avalon > when debugging my application. It doesn't seem that the dependencies > downloaded from ibiblio will permit this, I don't see any source > files. Is there a

Re: hibernate

2003-10-24 Thread Daniel Massie
khote wrote: Did you set the maven.hibernate.output.file? Are you using xdoclet? Also you have to worry about maven.hibernate.text=yes . I found that I couldn't do it either, there's something wrong with the hibernate plugin, I never could figure out what. It could never find my hibernate.prope

deploy using ftp

2003-10-24 Thread Daniel Massie
Is it possible to deploy a site using ftp with maven? if so, how can this be achieved? thanks daniel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Debugging Dependencies

2003-10-24 Thread Javier del Gesu
Hello All I want to be able to trace into Xerces/Xalan/Xindice/Cocoon/Avalon when debugging my application. It doesn't seem that the dependencies downloaded from ibiblio will permit this, I don't see any source files. Is there a standard strategy for building debug dependencies and setting a debug

How to start projects with Maven

2003-10-24 Thread Vikas Phonsa
Hi Guys, I want to know how should the project development be started in order to use Maven. In the tutorials and articles, maven is used to build and jar up stuff after the classes have been written. They wrote the project.xml after they had written the classes. I want to use Maven my WDSC IDE

Re: Maven Documentation

2003-10-24 Thread Heiko Kundlacz
Nowhere. This is my own goal. Heiko Ted Weatherly wrote: Where is this prepare_ant_classpath goal defined? Heiko Kundlacz wrote: Here is a code example. You can use each ant task. In my example here you find the integration of vssget (optional ant task). Use your ant tasks like you would ha

RE: repository plugin clean feature

2003-10-24 Thread Martin Skopp
On Fri, 2003-10-24 at 16:22, Sonnek, Ryan wrote: > Would it be a good idea to only remove the unused snapshots for a specific > dependency? Ex: before running jar:install-snapshot, I'd run > jar:clean-snapshots and that would delete the old snapshots for that > specific dependency. This would pr

RE: multiproject:site issue

2003-10-24 Thread Darren Hartford
Hehehe, sorry, need to be more specific - the links to the modules, or the other subprojects, have blank hrefs. -Original Message- Hey all, This is my first time using the multiproject plugin for Maven, so this may be just a newbie issue. I'm trying to run the multiproject:site, and ev

RE: repository plugin clean feature

2003-10-24 Thread Sonnek, Ryan
Would it be a good idea to only remove the unused snapshots for a specific dependency? Ex: before running jar:install-snapshot, I'd run jar:clean-snapshots and that would delete the old snapshots for that specific dependency. This would prevent cleaning dependencies that you'd like to maintain (

multiproject:site issue

2003-10-24 Thread Darren Hartford
Hey all, This is my first time using the multiproject plugin for Maven, so this may be just a newbie issue. I'm trying to run the multiproject:site, and everything seems to go correctly up until the HTML is generated. The HTML href links are blank! BUT, the hrefs in the generated navigation.xm

Re: Embedding Tomcat with Maven

2003-10-24 Thread Paul Libbrecht
Lukasz, We have been doing this and it's no so hard to collect all jars and make it a double-clickable jar... Here's our maven.xml extract... You'll note that we call a GUI for that... it makes no sense to make a double-clickable jar that's not a GUI, I feel. This class also sets the catalina.h

Re: Embedding Tomcat with Maven

2003-10-24 Thread Lukasz Piestrzeniewicz
Ben Walding wrote: Any reason you've chosen Tomcat over Jetty? Because we know how to embed Tomcat :) But after your suggestion I try to look around and find more information about Jetty. Why would a user care if they ran a supa uber jar vs. unpacking and stuffing around with script files etc. Sta

Re: Embedding Tomcat with Maven

2003-10-24 Thread Ben Walding
Any reason you've chosen Tomcat over Jetty? Why would a user care if they ran a supa uber jar vs. unpacking and stuffing around with script files etc. Lukasz Piestrzeniewicz wrote: Hello! I wonder if anyone has expirience with embedding Tomcat using Maven and would like to share his knowleadge

Re: hibernate

2003-10-24 Thread khote
Did you set the maven.hibernate.output.file? Are you using xdoclet? Also you have to worry about maven.hibernate.text=yes . I found that I couldn't do it either, there's something wrong with the hibernate plugin, I never could figure out what. It could never find my hibernate.properties file, w

RE: repository plugin clean feature

2003-10-24 Thread Martin Skopp
On Fri, 2003-10-24 at 00:12, Brett Porter wrote: > Given that your remote repository is as clean as possible, cleaning the > local one is quite simple: delete it :) > > I'd like to get some feedback on an idea I have for the > > repository plugin. In my development environment, I'm mainly > > wo

Re: hibernate

2003-10-24 Thread Michal Maczka
Daniel Massie wrote: I have goals set up to generate my hibernate mapping files, but I am unable to actually use these to create a database. How can I achieve this using maven? When I use the goal 'hibernate:schema-export' it builds successfully, but no schema is produced. Any help is much appr

RE: java.lang.ClassNotFoundException: antlr

2003-10-24 Thread Vincent Massol
Hi Eric, Delete completely your plugin cache and try again, it will work. -Vincent > -Original Message- > From: Eric Chow [mailto:[EMAIL PROTECTED] > Sent: 24 October 2003 11:20 > To: Maven Users List > Subject: java.lang.ClassNotFoundException: antlr > > Hello, > > What cause the foll

java.lang.ClassNotFoundException: antlr

2003-10-24 Thread Eric Chow
Hello, What cause the following exception? I found the antlr-2.7.2.jar is in the plugin, repository and lib directory. And my maven.xml is defined as following: $ maven java:compile __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_

Embedding Tomcat with Maven

2003-10-24 Thread Lukasz Piestrzeniewicz
Hello! I wonder if anyone has expirience with embedding Tomcat using Maven and would like to share his knowleadge? We use Maven in our new project (which is a web application). We would like to build version of application with embedded Tomcat. The final archive should contain the application war

Re: USe XDoclet in Maven

2003-10-24 Thread Konstantin Priblouda
--- Eric Chow <[EMAIL PROTECTED]> wrote: > Hello, > > I read the reference in the xdoclet maven-plugins, > but it still not work. > > Is there any project or example use Maven+Xdoclet? I can assure you that this works. Here some small sample: ---%< maven.xml ---

AW: USe XDoclet in Maven

2003-10-24 Thread Rademacher Tobias
Hi Eric, can you please describe your problem in more detail. Have you configured the plugin in your project.properties? Do you have all dependecies in your project.xml? What xdoclet goal are you using? > > Hello, > > I read the reference in the xdoclet maven-plugins, but it > still not work.

hibernate

2003-10-24 Thread Daniel Massie
I have goals set up to generate my hibernate mapping files, but I am unable to actually use these to create a database. How can I achieve this using maven? When I use the goal 'hibernate:schema-export' it builds successfully, but no schema is produced. Any help is much appreciated. Thanks Daniel