trying to get changelog working with clearcase
What do I need to do besides setting the following property: maven.changelog.factory=org.apache.maven.clearcaselib.ClearcaseChangeLog Factory When I run the report nothing is outputted. I'm assuming I'm supposed to get a changelog-report.html or something similar in the target directory structure, right?
Re: Maven dependencies and filesets
lib.path.parent.canonicalPath and lib.name should do it if you can do with multiple filesets. On Thu, 06 Jan 2005 17:08:48 -0500, Randy Xu <[EMAIL PROTECTED]> wrote: > I need to create a out of Maven's dependency jars (some of > them). I have a j:forEach go through and test each dependency for a > property. But how do I create a patternset out of this? > > lib.path gives me a number of absolute paths - but Filesets can't work > with absolute paths - I need to specify a root dir and a set of patterns. > > Any suggestions? > > -Randy > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- http://www.multitask.com.au/people/dion/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Warning: -Xmx256m not understood. Ignoring.
what JVM are you using? On Thu, 06 Jan 2005 10:41:07 -0800, John McLean <[EMAIL PROTECTED]> wrote: > I'm getting the following output from maven -v > > Warning: -Xmx256m not understood. Ignoring. > __ __ > | \/ |__ _Apache__ ___ > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > |_| |_\__,_|\_/\___|_||_| v. 1.0.2 > > Would any one know the reason? > > TIA. > > J. > > - > 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: [ANN] Maven uber-dist Plugin 1.0.10 released on Sourceforge
> Since all plugins are in the maven group... and must be to be > downloadable right? I took its output and removed the part for download. > What should I put there then? That's not correct though. The maven group is for the Maven project - you should use your own group. Other than that it is fine. Really, the announcement should quote organization instead of pom.groupId though, anyway. > Move the project? Ok, I guess I need to be registered in this other > project on SF i guess? And that would help me how to get the plugin on > the maven repote repos? There is an auotmatic sync. set up from their website to ibiblio. There would be too much overhead in doing this for every single sourceforge project, but I'm sure the plugin would be welcome to join that project. - Brett > > thx > Eric. > > Brett Porter wrote: > > >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. > > > >Regards, > >Brett > > > >On Wed, 05 Jan 2005 16:21:40 -0500, Eric Giguere > ><[EMAIL PROTECTED]> wrote: > > > > > >>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 complex > >>distributions of both maven and non-maven projects or components. > >> > >>Automatic installation is not possible since the plugin is not on any maven > >>public repositories. > >> > >>For a manual installation, you can download the plugin here: > >>http://prdownloads.sourceforge.net/uber-dist/maven-uberdist-plugin-1.0.10.jar?download > >> > >>Have fun! > >>-The maven team > >> > >>- > >>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]
Maven dependencies and filesets
I need to create a out of Maven's dependency jars (some of them). I have a j:forEach go through and test each dependency for a property. But how do I create a patternset out of this? lib.path gives me a number of absolute paths - but Filesets can't work with absolute paths - I need to specify a root dir and a set of patterns. Any suggestions? -Randy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Maven uber-dist Plugin 1.0.10 released on Sourceforge
Sorry about that but its the default behavior of the announcement plugin isn't it? The ${pom.groupId} team is pleased to announce the ${pom.name} ${versionVariable} release! Since all plugins are in the maven group... and must be to be downloadable right? I took its output and removed the part for download. What should I put there then? Move the project? Ok, I guess I need to be registered in this other project on SF i guess? And that would help me how to get the plugin on the maven repote repos? thx Eric. Brett Porter wrote: 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. Regards, Brett On Wed, 05 Jan 2005 16:21:40 -0500, Eric Giguere <[EMAIL PROTECTED]> wrote: 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 complex distributions of both maven and non-maven projects or components. Automatic installation is not possible since the plugin is not on any maven public repositories. For a manual installation, you can download the plugin here: http://prdownloads.sourceforge.net/uber-dist/maven-uberdist-plugin-1.0.10.jar?download Have fun! -The maven team - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven, xdoclet, and plugin.getDependencyPath
Brett Porter wrote: I'm still getting the error: "taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found" though which means it hasn't added maven-xdoclet-plugin's dependencies. I did the following echo: and I got: "/Volumes/scratch/SmileyDev/Maven Repository/xdoclet/jars/xdoclet-1.2.jar" That is promissing. Then I tried something different: and I got nothing. I think you'd need getDepenendecyPath('xdoclet:maven-xdoclet-plugin') or maybe even getDepenendecyPath('xdoclet:maven-xdoclet-plugin:plugin') Both returned nothing. I wish this was documented. We are blind, shooting in the dark hoping to hit something. But your tasks are not defined in there, so why do you need to location of the plugin JAR? Firstly I don't want to actually run any goals within the xdoclet plugin. I would but I can't in my case because of limitations of the plugin. I'm trying to reduce the number of dependencies listed in my project.xml via only depending on the plugin and then dynamically fetching those dependencies from within my maven.xml for when I use xdoclet directly. Perhaps it isn't worth it. ~ Dave Smiley - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Warning: -Xmx256m not understood. Ignoring.
I'm getting the following output from maven -v Warning: -Xmx256m not understood. Ignoring. __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 Would any one know the reason? TIA. J. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Generating an XML file using Maven
Check out: http://jakarta.apache.org/commons/jelly/tags.html#core:file -Original Message- From: Randy Xu [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 9:38 AM To: Maven Users List Subject: Generating an XML file using Maven I'd like to process some project properties and 3rd party dependency information in project.xml and spit out an XML file that can be used by the installation script. Is there an easy way of doing this? In ANT, we used to have an XML file which kept track of all of this, and used XSLT to operate on it. Can jelly write out an XML file? -R - 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]
Generating an XML file using Maven
I'd like to process some project properties and 3rd party dependency information in project.xml and spit out an XML file that can be used by the installation script. Is there an easy way of doing this? In ANT, we used to have an XML file which kept track of all of this, and used XSLT to operate on it. Can jelly write out an XML file? -R - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: hsql DB startup
Jake Ewerdt wrote: On Thursday 06 January 2005 02:28 am, Janos Mucsi wrote: 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 Hibernate, but I can not throw them away just yet.) For unit testing, I think it is best to use mock objects to mock the layer below the code you're testing. Mocking JDBC objects like Connection and ResultSet can be a lot of work, but it is well worth it because you can force exceptional behavior that is very difficult or impossible to reliably create in a testing environment with a real database. For functional tests that are testing functionality with the database, then I use a real database. Hello, Since this seems indeed theoratically correct to me, I think that if you plan to test a lot of DAOs producing SQL, you will endlessly need to adapt your tests to the correct SQL produced by the DAO, since you have no way to enforce hibernate, for example, to produce SQL selects following your coding conventions ... Using dbUnit and testing against some HSQL database instance for unit testing the DAOs makes more sense to me. But it definitely does not imply that you don't have to mock connections, especially if you want to test the treatment of some basic SQLExceptions by your DAO. My 0.02 euros, -- Laurent - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: hsql DB startup
On Thursday 06 January 2005 02:28 am, Janos Mucsi wrote: > 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 Hibernate, but > I can not throw them away just yet.) For unit testing, I think it is best to use mock objects to mock the layer below the code you're testing. Mocking JDBC objects like Connection and ResultSet can be a lot of work, but it is well worth it because you can force exceptional behavior that is very difficult or impossible to reliably create in a testing environment with a real database. For functional tests that are testing functionality with the database, then I use a real database. > 2. Can you please tell me an example for dealing with > SQL dialect differences. (I guess if you use > Hibernate, this is taken care of with the dialect > setting.) For Schemas, I have 2 different ways of dealing with the differences: 1) Create a custom SQL loading script that replaces macros in the schema file with the correct text for that database. For example, <%datetype%> in the schema file might get replaced to DATE in oracle and TIME in sqlserver. 2) Use an ER application like CASE Studio that can automatically generate different schema files for different databases. The insert, select, update, and delete sql statements can just be written carefully enough that they work with all databases you support. I haven't had any real problems with doing this. However, if you are not aiming at database independence, then you will not be needlesly removing the ability to use specific optimizations with certain databases. > Janos > > 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 > testing. > - When running inside a debugger (like Eclipse or > IntelliJ's), you can > step down all the way into the database to see exactly > what the sql is > doing. > > - HSQL is only used for developer testing. > Cruisecontrol and Maven and > QA and everything else use both Oracle and SqlServer. > - The driver, uri, username, and password are all in > configuration > files, so the same TestSetup is used for all > databases. > - The differences in the databases can be solved the > same way as you > would solve compatibility issues between Oracle and > SqlServer. > > So developing against HSQL and going live against > Oracle could have > some issues, all problems should be found and fixed by > always running > against Oracle with infrastructure tools and in QA. > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Classpath for ant:style or xml:transform tags
Carlos Sanchez wrote: Hi, You can check the transform and sdocbook plugins at http://maven-plugins.sourceforge.net That may help you. At last, using ant:java tasks actually makes this work. Why don't the style/transform tags obey the maven.dependency.classpath? Thanks, andy -- Andrew Thornton [EMAIL PROTECTED] / [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Classpath for ant:style or xml:transform tags
Hi, You can check the transform and sdocbook plugins at http://maven-plugins.sourceforge.net That may help you. Regards Carlos Sanchez A Coruña, Spain http://www.jroller.com/page/carlossg > -Original Message- > From: Andrew Thornton <[EMAIL PROTECTED]> > Date: Thu, 06 Jan 2005 09:14:55 + > Subject: Re: Classpath for ant:style or xml:transform tags > To: Maven Users List > > > Brett Porter wrote: > > 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. > > Nope it's a separate jar. I've also listed the jar as a > dependency in the POM. > > Thanks, > > andy > > -- > Andrew Thornton > [EMAIL PROTECTED] / [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Classpath for ant:style or xml:transform tags
Brett Porter wrote: 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. Nope it's a separate jar. I've also listed the jar as a dependency in the POM. Thanks, andy -- Andrew Thornton [EMAIL PROTECTED] / [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]