[M2] Convert simple Maven 1 Ant task to Maven2

2006-09-05 Thread Erik Husby
=maven.compile.src.set refid=src.set/ Do I need to write some Java code to do this? I did get a look at the Castor plugin and see where it does a project.addCompileSourceRoot ( dest); Writing a java class to do that call seems like overkill at this point. Any pointers? --- Erik Husby Senior Software

Re: [M2] Convert simple Maven 1 Ant task to Maven2

2006-09-05 Thread Erik Husby
Well, I've managed to answer my own question. Did not understand how to use the antrun property sourceRoot. Now I do. --- Erik Husby Senior Software Engineer Broad Institute of MIT and Harvard Rm. 2267, 320 Charles St, Cambridge, MA 02141-2023 mobile: 781.354.6669, office: 617.258.9227 email

[M2] Q: Creating a Macintosh application with Maven2.0.4?

2006-09-13 Thread Erik Husby
to do this. If I create a MOJO, where do I find the necessary Java API documentation. Should I grab the Maven2 sources and start reading or is there a site with the Javadocs available? --- Erik Husby Senior Software Engineer Broad Institute of MIT and Harvard Rm. 2267, 320 Charles St, Cambridge

Multi-module Site menu

2008-03-10 Thread Erik Husby
by the flat module structure? What would be the best way to generate the module menu? --- Erik Husby Senior Software Engineer I Broad Institute of MIT and Harvard Rm. 2139, 320 Charles St, Cambridge, MA 02141-2023 mobile: 781.354.6669, office: 617.258.9227 email: [EMAIL PROTECTED] AIM: ErikAtBroad

Resources not going into proper directory in jar file.

2003-07-16 Thread Erik Husby
file at the root directory level. No package/images/group1 or package/images/group2 gets created. What is the proper way to get the gif files into the proper directories? Thanks in advance. -- Erik Husby Team Lead for Software Quality Automation Whitehead Institute/MIT Center for Genome Research

Re: Question: How to create a manifest classpath

2003-07-31 Thread Erik Husby
jar and all its related jar files are in the directory somedirectory. On Windows this means you can double click on a jar file to launch the application. -- Erik Husby Team Lead for Software Quality Automation Whitehead Institute/MIT Center for Genome Research Rm 2192 320 Charles St Cambridge, MA

Re: Extending normal Manifest entries

2003-09-04 Thread Erik Husby
PROTECTED] -- Erik Husby Team Lead for Software Quality Automation Whitehead Institute/MIT Center for Genome Research Rm. 2192 320 Charles St Cambridge, MA 02141-2023 mobile: 781.354.6669 office: 617.258.9227 [EMAIL PROTECTED

Problem running Maven on an Alpha using Compaq Tru64 UNIX V5.1B (Rev. 2650)

2004-01-08 Thread Erik Husby
verified that $MAVEN_HOME/lib contains the same set of jar files on both systems. Any suggestions on things to look at would be really appreciated. -- Erik Husby Team Lead for Software Quality Automation Genome Center at MIT Rm. 2192 320 Charles St Cambridge, MA 02141-2023 mobile: 781.354.6669

Re: Problem running Maven on an Alpha using Compaq Tru64 UNIX V5.1B (Rev. 2650)

2004-01-09 Thread Erik Husby
in a solution! -jake On Thursday 08 January 2004 12:05 pm, Erik Husby wrote: I've installed Maven-1.0-RC1 on my Windows XP system and my Alpha using Compaq Tru64 UNIX V5.1B (Rev. 2650); Using a shared drive, if I build the project on the Windows XP system, it works fine. But if I build, using

Re: Problem running Maven on an Alpha using Compaq Tru64 UNIX V5.1B (Rev. 2650)

2004-01-14 Thread Erik Husby
mode which appears to run. Erik Husby wrote: I've installed Maven-1.0-RC1 on my Windows XP system and my Alpha using Compaq Tru64 UNIX V5.1B (Rev. 2650); Using a shared drive, if I build the project on the Windows XP system, it works fine. But if I build, using the same set of files on the Unix

Re: Problem running Maven on an Alpha using Compaq Tru64 UNIX V5.1B (Rev. 2650)

2004-01-14 Thread Erik Husby
. If there is any experienced java developer who would care to comment with workaround suggestions, I would appreciate that. Erik Husby wrote: Well, it is obviously a bug in the Alpha JVM. The default JVM is the fast one which is known to have some problems with native code (ie. the code that access

Re: 1.0.2 startup slow

2004-12-07 Thread Erik Husby
__ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 BUILD SUCCESSFUL Total time: 2 seconds Finished at: Tue Dec 07 14:06:00 EST 2004 Z:\IdeaProjects\SquidMaven\sequence -- Erik Husby Team Lead for Software Quality Automation Broad Institute of MIT

Artifact plugin with scp

2004-12-10 Thread Erik Husby
would be most welcome. -- Erik Husby Team Lead for Software Quality Automation Broad Institute of MIT and Harvard Rm. 2192 320 Charles St Cambridge, MA 02141-2023 mobile: 781.354.6669, office: 617.258.9227, [EMAIL PROTECTED

Re: newbie problem in second step

2004-12-14 Thread Erik Husby
but in another I get the same problem. -- Erik Husby Team Lead for Software Quality Automation Broad Institute of MIT and Harvard Rm. 2192 320 Charles St Cambridge, MA 02141-2023 mobile: 781.354.6669, office: 617.258.9227, [EMAIL PROTECTED

Re: Extracting the specific project maven log

2004-12-15 Thread Erik Husby
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Not directly. Suggest you look into either CruiseControl or Anthill for a build system that knows how fetch from source control, build, and notify developers. -- Erik Husby Team Lead for Software Quality

Re: Importing Multiple Projects into eclipse

2004-12-10 Thread Erik Husby
multproject imports. You can get a copy of |projecttransfer 1.0.6| at Source Force http://sourceforge.net/project/showfiles.php?group_id=72684. This plugin will give you a |Multiple Projects| option in the |File Import| dialog. -- Erik Husby Team Lead for Software Quality Automation Broad Institute

Re: CruiseConrol/Maven Setup Help

2004-12-16 Thread Erik Husby
somewhat complete example files or documentation for doing this? Check the CruiseControl documenation and ask questions on their wiki/mailing list. http://cruisecontrol.sourceforge.net/ -- Erik Husby Team Lead for Software Quality Automation Broad Institute of MIT and Harvard Rm. 2192 320 Charles

Multiproject release builds -- how to do?

2004-12-20 Thread Erik Husby
. Is there away to force the multiproject build to go ahead with unsatisfied dependencies? -- Erik Husby Team Lead for Software Quality Automation Broad Institute of MIT and Harvard Rm. 2192 320 Charles St, Cambridge, MA 02141-2023 mobile: 781.354.6669, office: 617.258.9227, email: [EMAIL PROTECTED] AIM

Re: Multiproject release builds -- how to do?

2004-12-21 Thread Erik Husby
, 20 Dec 2004 16:51:02 -0500, Erik Husby [EMAIL PROTECTED] wrote: I want to have a multiproject build produce a release for my application A, which depends on component B. I check out the sources from CVS so that I end up with a two directories in my workarea, A, B. I want to be able to issue

Re: JUnit from Eclipse and dealing with path differences

2004-12-27 Thread Erik Husby
propertyIn = this.getClass().getResourceAsStream(config.properties); Properties.load(propertyIn); -- Erik Husby Team Lead for Software Quality Automation Broad Institute of MIT and Harvard Rm. 2192 320 Charles St, Cambridge, MA 02141-2023 mobile: 781.354.6669, office: 617.258.9227, email

Re: Stupid question about generated site

2005-01-13 Thread Erik Husby
format? Simple, Create the directory xdocs Create the file xdocs/index.xml to get additional documentation Create the file xdocs/navigation.xml to get additional menus See the Maven sources for more details on the file format. -- Erik Husby Team Lead for Software Quality Automation Broad Institute

Re: maven.repo.remote is miraculously changed

2005-01-21 Thread Erik Husby
ibiblio and codeczar. I'm stumped, I can't even find the URL http://www.ibiblio.org/maven/ in any of the maven- or project-related directories. Michael Don't forget the possiblity of a project build.properties file and your ~/build.properties file -- Erik Husby Team Lead for Software Quality

Re: Question on accessing user-defined properties in maven.xml

2005-02-09 Thread Erik Husby
=${hibernate.doclet.xxx}/ j:if test=${x != 'true'} should do it. -- Erik Husby Senior Software Engineer Broad Institute of MIT and Harvard Rm. 2192 320 Charles St, Cambridge, MA 02141-2023 mobile: 781.354.6669, office: 617.258.9227, email: [EMAIL PROTECTED] AIM: ErikAtBroad

Re: OS-conditional report generation

2005-02-17 Thread Erik Husby
name=maven-linkcheck-plugin:deregister/ /j:when /postGoal -- Erik Husby Senior Software Engineer Broad Institute of MIT and Harvard Rm. 2192 320 Charles St, Cambridge, MA 02141-2023 mobile: 781.354.6669, office: 617.258.9227, email: [EMAIL PROTECTED] AIM: ErikAtBroad

Re: clean and dependencies

2005-02-17 Thread Erik Husby
That is a known problem with Maven. You can speed things up by running off-line for the clean (off-line just means, don't try to download from the net) maven -o clean -- Erik Husby Senior Software Engineer Broad Institute of MIT and Harvard Rm. 2192 320 Charles St, Cambridge, MA 02141-2023

Re: How to display ALL values?

2005-02-22 Thread Erik Husby
Russ Jubenville wrote: Is there some way to display all variable names and their values for a given scope point? Well you can try the Ant task echoproperties and that will get you a lot of stuff. I include that in my production and nightly build log files just in case. -- Erik Husby Senior

Re: how to 'point' to another properties file

2005-02-23 Thread Erik Husby
the release process is: 1. Fetch code from CVS according to release label. 2. Invoke the buildRelease script. -- Erik Husby Senior Software Engineer Broad Institute of MIT and Harvard Rm. 2192 320 Charles St, Cambridge, MA 02141-2023 mobile: 781.354.6669, office: 617.258.9227, email: [EMAIL

Re: how to 'point' to another properties file

2005-02-23 Thread Erik Husby
/build.properties or Maven global values in userhome/build.properties. And the build script forces the right values because it specifies them on command line. -- Erik Husby Senior Software Engineer Broad Institute of MIT and Harvard Rm. 2192 320 Charles St, Cambridge, MA 02141-2023 mobile

Re: how to 'point' to another properties file

2005-02-23 Thread Erik Husby
it is dysfunctional or not is a subjective question. You need to do what you feel is best for your organization. I actually tried that approach and found it was awkward to maintain. Turned out for us, the default values in project/project.properties would cover most of the developer's needs. -- Erik

Re: maven web site is odd

2005-03-22 Thread Erik Husby
will find the user guide. -- Erik Husby Senior Software Engineer Broad Institute of MIT and Harvard Rm. 2192 320 Charles St, Cambridge, MA 02141-2023 mobile: 781.354.6669, office: 617.258.9227, email: [EMAIL PROTECTED] AIM: ErikAtBroad

Re: Args in goals

2005-03-23 Thread Erik Husby
=theItemValue/ Parameter passing is unstructured, untyped. In the above, in the definition of myOperation one would refer to the parameter as a Jelly expression, i.e. ${theItem} Examine the sources of some of the plugins for more details. -- Erik Husby Senior Software Engineer Broad Institute

Re: maven -P broken?

2005-03-31 Thread Erik Husby
of Maven Undocumented goals : plugin:repository-deploy plugin:repository-deploy-snapshot plugin:repository-install plugin:repository-install-snapshot plugin:test Maven Plugin management plugin. I:\ -- Erik Husby Senior Software Engineer Broad Institute of MIT and Harvard Rm. 2192 320 Charles

Re: maven.test.skip help request

2005-04-22 Thread Erik Husby
=test:prepare-filesystem ... jelly code to setup your database .. /postGoal This will be run after test has setup the directories but before the unit tests are run. -- Erik Husby Senior Software Engineer Broad Institute of MIT and Harvard Rm. 2192 320 Charles St, Cambridge, MA 02141-2023 mobile

Using Maven for development and production builds.

2004-02-19 Thread Erik Husby
the SNAPSHORT attribute to get the first 2 goals but I am unclear on the procedure needed for goals 3 and 4. Any advice on this topic. -- Erik Husby Team Lead for Software Quality Automation Genome Center at MIT Rm. 2192 320 Charles St Cambridge, MA 02141-2023 mobile: 781.354.6669 office

Re: Using Maven for development and production builds.

2004-02-23 Thread Erik Husby
, I don't know yet. -- Erik Husby Team Lead for Software Quality Automation Genome Center at MIT Rm. 2192 320 Charles St Cambridge, MA 02141-2023 mobile: 781.354.6669 office: 617.258.9227 [EMAIL PROTECTED] - To unsubscribe, e-mail

Determining current OS

2004-03-24 Thread Erik Husby
and none are using this condition. Is there a better way to determine what OS is being used? The reason for the test is that I need to run the Ant task pathconvert which needs to know the target OS. -- Erik Husby Team Lead for Software Quality Automation Genome Center at MIT Rm. 2192 320 Charles

Re: Newbe: Maven vs AntHill

2004-04-05 Thread Erik Husby
am using Anthill OS to run my Maven based builds. -- Erik Husby Team Lead for Software Quality Automation Broad Institute Rm. 2192 320 Charles St Cambridge, MA 02141-2023 mobile: 781.354.6669, office: 617.258.9227, [EMAIL PROTECTED

Jelly coding question: Checking if a property was set.

2004-04-21 Thread Erik Husby
awkward. The Jelly site does not seem to have any progamming tips only a tag reference. -- Erik Husby Team Lead for Software Quality Automation Broad Institute Rm. 2192 320 Charles St Cambridge, MA 02141-2023 mobile: 781.354.6669, office: 617.258.9227, [EMAIL PROTECTED

Problem with Multiproject, SNAPSHOTS, local and site repositories

2004-05-13 Thread Erik Husby
in the site repository is 20-Apr-2004 11:48 The time of my build is 13-May-2004 9:55 Is there a problem with my Apache that is causing it to get the wrong timestamp? -- Erik Husby Team Lead for Software Quality Automation Broad Institute Rm. 2192 320 Charles St Cambridge, MA 02141-2023 mobile

Re: IntelliJ (or any IDE) classpath

2004-05-10 Thread Erik Husby
, add it to your project.xml and then regenerate the Idea project files. If you are using Idea V4, put this property in your ~/build.properties file maven.idea.project.version=4 -- Erik Husby Team Lead for Software Quality Automation Broad Institute Rm. 2192 320 Charles St Cambridge, MA 02141

Re: IntelliJ (or any IDE) classpath

2004-05-10 Thread Erik Husby
Jason van Zyl wrote: On Mon, 2004-05-10 at 09:49, Erik Husby wrote: Idea supports the idea of path variables like Eclipse does. Setup one called MAVEN_REPO and point it at the repository root. Do you have a little example of how this might work in the IDEA files? If this could be done

Re: jar goal depending on test goal

2004-06-04 Thread Erik Husby
maven.test.skip=true to skip running the tests and maven.test.failure.ignore=true to ignore failures in testing. Documented on the test plugin page http://maven.apache.org/reference/plugins/test/properties.html -- Erik Husby Team Lead for Software Quality Automation Broad Institute of MIT and Harvard

Maven User Guide not available?

2004-06-10 Thread Erik Husby
to download. Is it coming back? -- Erik Husby Team Lead for Software Quality Automation Broad Institute of MIT and Harvard Rm. 2192 320 Charles St Cambridge, MA 02141-2023 mobile: 781.354.6669, office: 617.258.9227, [EMAIL PROTECTED

Re: Maven User Guide not available?

2004-06-11 Thread Erik Husby
Arnaud Heritier wrote: I cleaned my IE cache and it works: http://maven.apache.org/reference/user-guide.html The PDF file size is 500Ko. Don't you have a problem with your internet connection? Arnaud Well I cleaned the Firefox cache and the page is no visible. Strange! -- Erik Husby Team Lead

Re: Jar help

2004-06-11 Thread Erik Husby
version${squid.version}/version properties javalibtrue/javalib /properties /dependency Hope this helps. I too have embarked on the task of replacing Ant with Maven, and have been pleased at how easy it has been. -- Erik Husby Team Lead for Software

Re: Supplying classpath inside a goal

2004-06-14 Thread Erik Husby
. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Erik Husby Team Lead for Software Quality Automation Broad Institute of MIT and Harvard Rm. 2192 320 Charles St Cambridge, MA 02141-2023 mobile: 781.354.6669, office

Re: deploying plugin jars

2004-06-21 Thread Erik Husby
. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Yes, the correct way is to use the plugin plugin. See http://maven.apache.org/reference/plugins/plugin/goals.html for details. -- Erik Husby Team Lead for Software Quality Automation Broad Institute

The Genapp plugin

2004-07-21 Thread Erik Husby
-genapp-plugin-2.2\plugin.jelly Element... j:import Line.. 173 Column 86 file:/z:/.maven/template/broad/template.jelly:10:32: goal Plugin Housing can not be null Total time: 22 seconds Finished at: Wed Jul 21 14:24:13 EDT 2004 Z:\IdeaProjects\junk -- Erik Husby Team Lead for Software Quality

Re: The Genapp plugin

2004-07-21 Thread Erik Husby
. Having only used Jelly in the context of Maven, it did not occur to me to just put jelly commands in the file. -- Erik Husby Team Lead for Software Quality Automation Broad Institute of MIT and Harvard Rm. 2192 320 Charles St Cambridge, MA 02141-2023 mobile: 781.354.6669, office: 617.258.9227

Re: The Genapp plugin

2004-07-21 Thread Erik Husby
Charles Daniels wrote: Works like a charm for my templates. -- Chuck How do you make your templates available to the rest of your company? Do you provide a script that wraps maven genapp with appropriate parameters? -- Erik Husby Team Lead for Software Quality Automation Broad Institute

Re: The Genapp plugin

2004-07-22 Thread Erik Husby
the plugins that I'm providing. You could do something similar and invoke the setup from the .BAT file. -- Erik Husby Team Lead for Software Quality Automation Broad Institute of MIT and Harvard Rm. 2192 320 Charles St Cambridge, MA 02141-2023 mobile: 781.354.6669, office: 617.258.9227, [EMAIL PROTECTED

Re: The Genapp plugin

2004-07-22 Thread Erik Husby
Charles Daniels wrote: Unfortunately, that won't work because the genapp plugin specifically uses ${user.home}/.maven/template, not ${maven.home.local}/template. If this isn't already in JIRA against the genapp plugin, it should be. I added that issue yesterday. -- Erik Husby Team Lead

Re: The Genapp plugin

2004-07-22 Thread Erik Husby
Erik Husby wrote: Charles Daniels wrote: Unfortunately, that won't work because the genapp plugin specifically uses ${user.home}/.maven/template, not ${maven.home.local}/template. If this isn't already in JIRA against the genapp plugin, it should be. I added that issue yesterday. What I've

Variables in xdoc files?

2004-07-27 Thread Erik Husby
-xdoc-plugin template index.xml. All I end up with is the text ${pom.currentVersion} What am I missing? -- Erik Husby Team Lead for Software Quality Automation Broad Institute of MIT and Harvard Rm. 2192 320 Charles St Cambridge, MA 02141-2023 mobile: 781.354.6669, office: 617.258.9227, [EMAIL

Re: How can I override the currentversion from the POM?

2004-07-28 Thread Erik Husby
or maven -DcurrentVersion=1.1-SNAPSHOT -- Erik Husby Team Lead for Software Quality Automation Broad Institute of MIT and Harvard Rm. 2192 320 Charles St Cambridge, MA 02141-2023 mobile: 781.354.6669, office: 617.258.9227, [EMAIL PROTECTED

Re: How do I include my documents into the site documents?

2004-08-02 Thread Erik Husby
menu items to the left of the website with links to your documents. Or you create index.xml that has more description then you put in the project.xml description tag. Check out the maven sources for more ideas. -- Erik Husby Team Lead for Software Quality Automation Broad Institute of MIT

Re: List all dependencies or only main ones?

2004-08-03 Thread Erik Husby
article EnsureProjectConsistencyWithEntities at http://wiki.codehaus.org/maven/EnsureProjectConsistencyWithEntities for details on the technique. -- Erik Husby Team Lead for Software Quality Automation Broad Institute of MIT and Harvard Rm. 2192 320 Charles St Cambridge, MA 02141-2023 mobile

Re: Please Help...Malformed \uxxxx encoding error while executing maven

2004-08-04 Thread Erik Husby
Check your property files, somewhere you have got a string with a unicode character sequence that is bad. Java property files need to have the backslash character quoted, ie. instead of dir=z:\tmp you would want to use dir=z:\\tmp -- Erik Husby Team Lead for Software Quality Automation Broad

Re: pom.siteDirectory

2004-08-10 Thread Erik Husby
in build.properties siteDirectory=c:/app/site -- Erik Husby Team Lead for Software Quality Automation Broad Institute of MIT and Harvard Rm. 2192 320 Charles St Cambridge, MA 02141-2023 mobile: 781.354.6669, office: 617.258.9227, [EMAIL PROTECTED

maven-deploy-plugin is not available.

2004-08-11 Thread Erik Husby
Can someone explain why, since the 1.0 release, I always get the message Plugin 'maven-deploy-plugin' in project '...' is not available -- Erik Husby Team Lead for Software Quality Automation Broad Institute of MIT and Harvard Rm. 2192 320 Charles St Cambridge, MA 02141-2023 mobile

Looking for suggestions on SNAPSHOT cleanup process

2004-08-11 Thread Erik Husby
-snapshot goal or do you run a cron job to purge the directory? -- Erik Husby Team Lead for Software Quality Automation Broad Institute of MIT and Harvard Rm. 2192 320 Charles St Cambridge, MA 02141-2023 mobile: 781.354.6669, office: 617.258.9227, [EMAIL PROTECTED

Re: Unit test failing (using static method from different project)

2004-09-21 Thread Erik Husby
error message you get? -- Erik Husby Team Lead for Software Quality Automation Broad Institute of MIT and Harvard Rm. 2192 320 Charles St Cambridge, MA 02141-2023 mobile: 781.354.6669, office: 617.258.9227, [EMAIL PROTECTED

Re: Unit test failing (using static method from different project)

2004-09-22 Thread Erik Husby
Omair-Inam Abdul-Matin wrote: Erik Husby wrote: Omair-Inam Abdul-Matin wrote: I'm facing a weird error. I have the following projects with the dependencies shown (a - b means a depends on b) storagemanager-util stindex-util stindex-storagemanager I have made a unit test in the storagemanager

Re: maven -u [undocumented goals]

2004-10-12 Thread Erik Husby
. -- Erik Husby Team Lead for Software Quality Automation Broad Institute of MIT and Harvard Rm. 2192 320 Charles St Cambridge, MA 02141-2023 mobile: 781.354.6669, office: 617.258.9227, [EMAIL PROTECTED] - To unsubscribe, e-mail

Re: changing to SNAPSHOT version does not work either

2004-10-28 Thread Erik Husby
for each of your projects? Have you read the documentation on the Maven website? -- Erik Husby Team Lead for Software Quality Automation Broad Institute of MIT and Harvard Rm. 2192 320 Charles St Cambridge, MA 02141-2023 mobile: 781.354.6669, office: 617.258.9227, [EMAIL PROTECTED

Re: javac: target release 1.1 conflicts with default source release 1.5

2004-11-05 Thread Erik Husby
-- extend schoolbus/project.xml, depend on core.jar in deployable application -- extend schoolbus/project.xml, depend on core.jar, quaestio.jar then you can do from schoolbus maven multiproject:install to build all installable artifacts in the correct order. -- Erik Husby Team Lead for Software