Re: What is the proper way to handle resource bundles when unit testing?

2004-01-02 Thread dion
Yes, you use resources for this. e.g. build . resources resource directorysrc/conf/directory includes include*.xsd/include include*.dtd/include include*.mod/include include*.properties/include

Re: What is the proper way to handle resource bundles when unit testing?

2004-01-02 Thread dion
These are unitTest resources right, and not build? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Chad Woolley [EMAIL PROTECTED] wrote on 02/01/2004 03:47:29 PM: Hi, I use a resource bundle in my app. In my ResourceManager class, I load it like

Using maven / jelly to generate files

2004-01-02 Thread Nathan Coast
Hi, I'm working on a tree view plugin to generate a html folder tree for the files within the src directory. This would involve generating a javascript file to configure the folder tree view. The real work of the tree view is in static js files. I'm thinking of having a descriptor file

Usage of SCM and Changelog plugins

2004-01-02 Thread enghoe
I am trying to use the SCM plugin to checkout the source codes from CVS and the changelog plugin to generate the change log report. I noticed that there is a difference between the SCM checkout directory and the base directory for Changelog. The SCM checkout directory is default to

Jelly layout question

2004-01-02 Thread David J. Thomson
Hello, I hope this is sent to the right list. In the example.jelly file, how do I get it so that the Name, Location, James, London, OK, and Foo items are all top aligned? I'm trying to figure out how the layout works, and I've tried embedding them in a gridLayout with a gbc weighty=1.0

Encoding urls in navigation.xml

2004-01-02 Thread Moritz Petersen
Hi, this must be a trivial problem, but I don't find the solution. I need a similar URL in the navigation.xml as: project name=... body links item name=acme href=http://www.acme.com?a=bc=d/ /links /body /project Problem is the character in the URL. By parsing the file, a c; entity is

Réf. : Encoding urls in navigation.xml

2004-01-02 Thread julien . kirch
hmm this sounds like http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPXDOC-27 I workarounded the problem by putting some tokens in the file and filtering it Regards This message and any attachments (the message) is intended solely for the addressees and is confidential. If you

Re: Jelly layout question

2004-01-02 Thread David J. Thomson
Nevermind, just did it all with gridBagLayout...thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Usage of SCM and Changelog plugins

2004-01-02 Thread dion
[EMAIL PROTECTED] wrote on 02/01/2004 02:31:48 PM: I am trying to use the SCM plugin to checkout the source codes from CVS and the changelog plugin to generate the change log report. I noticed that there is a difference between the SCM checkout directory and the base directory for

Where and how to set environment variables?

2004-01-02 Thread conradwt
Hi, I was wondering, where and how would I set environment variables within Maven? For example, I'm trying to convert the following task attribute within my 'maven.xml': javacchome=${env.JAVACC_HOME}/bin/lib Thanks in advance, -Conrad

Re: Where and how to set environment variables?

2004-01-02 Thread Gilles Dodinet
[EMAIL PROTECTED] wrote: Hi, I was wondering, where and how would I set environment variables within Maven? For example, I'm trying to convert the following task attribute within my 'maven.xml': something like that should do it : ant:property environment=env/ ant:property name=javacc.home

Re: Where and how to set environment variables?

2004-01-02 Thread Jake Ewerdt
In the Ant Optional task documentation under JavaCC, it says you can set the javacchome variable for that task, so you wouldn't need an env var. If maven has a javacc plugin, but it won't take a property for javacchome, you'll have to modify the plugin.jelly for that plugin or just use the ant

Last Sequential File

2004-01-02 Thread Jake Ewerdt
I'm currenly working on moving a build system that comprises mainly of shell scripts to maven. One of the things that the current system does is create a changelog file (changelog.${build.number}) that contains all CVS commit logs since the last release. We use build numbers, but releases are

maven.build.src variable?

2004-01-02 Thread conradwt
Hi, I was wondering, I was going to use the maven.build.src variable for the output location of my JAVACC preGoal. Thus, I was wondering, do I need to update the project.xml to build this generated Java source? If so, could someone let me know what tags I would need to add to the project.xml?

Re: Last Sequential File

2004-01-02 Thread Gilles Dodinet
Jake Ewerdt wrote: I've looked through ant, jelly, and maven documentation, but I couldn't find an easier way to do this. Any ideas? Perhaps you could create a Jelly Tag with one attribute - the directory to look in - that would grab the date thanks a FileFilter and then put it in the context

Re: Where and how to set environment variables?

2004-01-02 Thread conradwt
Hi, I would like to set it too an environment variable instead of hard coding it into my maven.xml. Is this possible? At this time, I haven't been able to locate a javacc plugin for Maven. If there is one, could someone send me the relevant link? Thanks in advance, -Conrad In the Ant

Re: Where and how to set environment variables?

2004-01-02 Thread conradwt
Hi gd, would I add the below two lines before my javacc ... / Then I'm taking that I can use ${java.home} within the javacc tag. Thanks in advance, -Conrad [EMAIL PROTECTED] wrote: Hi, I was wondering, where and how would I set environment variables within Maven? For example, I'm

Re: Where and how to set environment variables?

2004-01-02 Thread Gilles Dodinet
[EMAIL PROTECTED] wrote: Hi gd, would I add the below two lines before my javacc ... / Then I'm taking that I can use ${java.home} within the javacc tag. i have never used javacc, although from the ant task description this seems valid ant:property environment=env/ ant:property

Re: Where and how to set environment variables?

2004-01-02 Thread conradwt
Hey gb, it's working and thanks for the information. -Conrad [EMAIL PROTECTED] wrote: Hi gd, would I add the below two lines before my javacc ... / Then I'm taking that I can use ${java.home} within the javacc tag. i have never used javacc, although from the ant task

RE: Maven Xdoclet problem

2004-01-02 Thread Gargan, Stephen
Do u have the hibernate jar included in your project.xml as a dependency? e.g. dependency artifactIdxdoclet-hibernate-module/artifactId groupIdxdoclet/groupId version1.2b4/version typejar/type /dependency steve Stephen Gargan,

jelly tag problem

2004-01-02 Thread Nathan Coast
Hi, I've written a tag class to use within a plugin. I copied the code from the ChangeLog plugin as a starting point. I guess I've missed some crucial step as when I execute the plugin I get this error: java.lang.IllegalArgumentException: Property 'output' has no write method at

Re: Maven Xdoclet problem

2004-01-02 Thread Aleksandr Shneyderman
dependency artifactIdxdoclet-hibernate-module/artifactId groupIdxdoclet/groupId version1.2b4/version typejar/type /dependency I have: dependencies dependency idxdoclet+hibernate-module/id version1.2/version

Re: Maven Xdoclet problem

2004-01-02 Thread Aleksandr Shneyderman
Ahh, I figured it out. Besides the need for xdoclet-hibernate-module I also need xdoclet and xjavadoc dependency. Which, leads me to another question. How do you specify dependency on the whole package rather than a jar file. Suppose I use a pcakge that has its own dependencies. Package I use

Re: ERROR HTMLEmailPublisher in Cruisecontrol plugin

2004-01-02 Thread dion
Fix committed today, thanks -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Paul Spencer [EMAIL PROTECTED] wrote on 31/12/2003 10:02:24 AM: I am getting the following error using the cruisecontrol plugin that came with Maven 1.0-RC1 2003-12-30