Jelly script to get XML file from repository

2004-08-04 Thread Sean Radford
Hi,
I have one module that puts an XML file into the repository.
I have another module that needs to retrieve that XML file and copy it 
under the target directory doing an Ant filter in the process.

Can anyone help with the jelly script to get the XML file from the repo? 
I don't/can't just use a standard Ant copy with filter as the XML file 
may not be in the local repository but only in a remote one.

Help much appreciated,
Sean
--
Dr. Sean Radford, MBBS, MSc
[EMAIL PROTECTED]
http://bladesys.demon.co.uk/ 
http://www.aegeus-technology.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Infamous Junit classloader bug

2004-04-15 Thread Sean Radford
Yes, it is the nasty delegating classloader of Ant that is causing the
problem...

http://femur/roller/page/sradford/Weblog/20040325#classcastexception_and_junit

Sean


On Thu, 2004-04-15 at 15:52, Brice Copy wrote:
> The problem mentionned above is solved.
> 
> I came across
>  http://maven.apache.org/faq.html#unit-test-14
> and added
> maven.junit.fork=yes
> 
> to my project properties.
> 
> Perhaps the FAQ could be more precise, and include a sample error 
> message like :
> 
> Class org/w3c/dom/Element violates loader constraints
> 
> Cheers
> 
> Brice
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
Dr. Sean Radford, MBBS, MSc
[EMAIL PROTECTED]
http://bladesys.demon.co.uk/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [xdoc plugin] Project reports not generated

2004-03-04 Thread Sean Radford
You're not the only one...

I also tried updating the site plugin too, to no avail :-(

I have rc1 from which I tried to upgrade.

Anyone have any ideas?

On Thu, 2004-03-04 at 19:14, Charles Daniels wrote:
> I have just downloaded and installed xdoc plugin 1.5 using the plugin:download goal. 
>  Now when I
> attain the site goal, none of my project reports are generated.  I was previously 
> using version
> 1.4 of the plugin, which generated the reports without any problem.  I decided to 
> upgrade to
> version 1.5 for the new style, but now I get this odd output (instead of generated 
> reports).  Any
> ideas?
> 
> Cheers,
> Chuck
> 
> = OUTPUT FROM MAVEN'S SITE GOAL WITH XDOC PLUGIN 1.5 
> 
> site:
> xdoc:register-reports:
> maven-checkstyle-plugin:register:
>  property="reports">
> maven-javadoc-plugin:register:
>  property="reports"> n:pluginVar var="reports" plugin="maven-xdoc-plugin" 
> property="reports">
> maven-jxr-plugin:register:
>  property="reports">
> 
> site:run-reports:
>  property="reports">
> xdoc:init:
> 
> xdoc:register-reports:
> maven-checkstyle-plugin:register:
>  property="reports">
> maven-javadoc-plugin:register:
>  property="reports"> n:pluginVar var="reports" plugin="maven-xdoc-plugin" 
> property="reports">
> maven-jxr-plugin:register:
>  property="reports">
> 
> xdoc:generate-from-pom:
> [echo] Generating xdocs from POM ...
>  property="reports">
> 
> 
> 
> 
> xdoc:transform:
> xdoc:init:
> 
> xdoc:copy-resources:
> [copy] Copying 3 files to D:\apps\eclipse\workspace\bmx-logging\target\docs\style
> [copy] Copying 89 files to 
> D:\apps\eclipse\workspace\bmx-logging\target\docs\images
> About to use JSL stylesheet
> file:/d:/profiles/cdaniels/.maven/plugins/maven-xdoc-plugin-1.5/plugin-r
> esources/site.jsl
> 
> xdoc:init:
> 
> xdoc:copy-user-resources:
> 
> xdoc:init:
> 
> xdoc:jelly-init:
> 
> xdoc:register-reports:
> maven-checkstyle-plugin:register:
>  property="reports">
> maven-javadoc-plugin:register:
>  property="reports"> n:pluginVar var="reports" plugin="maven-xdoc-plugin" 
> property="reports">
> maven-jxr-plugin:register:
>  property="reports">
> 
> xdoc:jelly-transform:
>  property="reports">   
> [
> echo] Generating 
> D:/apps/eclipse/workspace/bmx-logging/target/docs/changelog-report.html from
> D:\app
> s\eclipse\workspace\bmx-logging\target\generated-xdocs\changelog-report.xml
> [echo] Generating 
> D:/apps/eclipse/workspace/bmx-logging/target/docs/checkstyle-report.html
> from
> D:\apps\eclipse\workspace\bmx-logging\target\generated-xdocs\checkstyle-report.xml
> [echo] Generating 
> D:/apps/eclipse/workspace/bmx-logging/target/docs/cvs-usage.html from
> D:\apps\
> eclipse\workspace\bmx-logging\target\generated-xdocs\cvs-usage.xml
> [echo] Generating 
> D:/apps/eclipse/workspace/bmx-logging/target/docs/dependencies.html from
> D:\ap
> ps\eclipse\workspace\bmx-logging\target\generated-xdocs\dependencies.xml
> [echo] Generating D:/apps/eclipse/workspace/bmx-logging/target/docs/index.html 
> from
> D:\apps\ecli
> pse\workspace\bmx-logging\target\generated-xdocs\index.xml
> [echo] Generating 
> D:/apps/eclipse/workspace/bmx-logging/target/docs/issue-tracking.html from
> D:\
> apps\eclipse\workspace\bmx-logging\target\generated-xdocs\issue-tracking.xml
> [echo] Generating D:/apps/eclipse/workspace/bmx-logging/target/docs/javadoc.html 
> from
> D:\apps\ec
> lipse\workspace\bmx-logging\target\generated-xdocs\javadoc.xml
> [echo] Generating 
> D:/apps/eclipse/workspace/bmx-logging/target/docs/jdepend-report.html from
> D:\
> apps\eclipse\workspace\bmx-logging\target\generated-xdocs\jdepend-report.xml
> [echo] Generating 
> D:/apps/eclipse/workspace/bmx-logging/target/docs/mail-lists.html from
> D:\apps
> \eclipse\workspace\bmx-logging\target\generated-xdocs\mail-lists.xml
> [echo] Generating 
> D:/apps/eclipse/workspace/bmx-logging/target/docs/maven-reports.html from
> D:\a
> pps\eclipse\workspace\bmx-logging\target\generated-xdocs\maven-reports.xml
> [echo] Generating 
> D:/apps/eclipse/workspace/bmx-logging/target/docs/project-info.html from
> D:\ap
> ps\eclipse\workspace\bmx-logging\target\generated-xdocs\project-info.xml
> [echo] Generating 
> D:/apps/eclipse/workspace/bmx-logging/target/docs/team-list.html from
> D:\apps\
> eclipse\workspace\bmx

Trailing space on hyperlinks produced by xdoc

2004-03-01 Thread Sean Radford
Hi,

Anyone having this problem:

When I 'xdoc' the majority of the hyperlinks get an extra trailing space
on the end...

e.g.

The https://sourceforge.net/projects/jsdsi";>JSDSI
project is hosted by http://sourceforge.net";>SourceForge.

becomes:

   
   The 
   
https://sourceforge.net/projects/jsdsi";>
 JSDSI project
   
  
  is hosted by 
   
http://sourceforge.net";>
 SourceForge
   
  
 .
   



Any ideas?

Sean


On Mon, 2004-03-01 at 12:52, [EMAIL PROTECTED] wrote:
> I'm on European Standard Time, or GMT+1 
> To get the correct time here, I have to set TZ Offset to -5, and the
> time is listed as UTC+1.
> 
> Using RC1.
> 
> Harald
> 
> _
> Harald Ommang, Delfi Data AS
> DnB NOR IT Utvikling
> 
> -Opprinnelig melding-
> Fra: Ben Walding [mailto:[EMAIL PROTECTED]
> Sendt: 1. mars 2004 13:30
> Til: Maven Users List
> Emne: Re: Developer TZ offset and timezone
> 
> 
> It's not supposed to be Ben time, more UTC time.  However I think the 
> maths + javascript got a bit confused.
> 
> Martin Skopp wrote:
> 
> >On Sat, 2004-02-28 at 14:29, Sean Radford wrote:
> >  
> >
> >>Anyone know what the pom.developers.developer.timezone value actually
> >>relates to?
> >>
> >>
> >
> >IMHO it's related to "Ben time" (=Brisbane, Australia).
> >I remember there have been discussion on the ICQ and/or developer
> >mailing list...
> >  
> >
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> 
> This email with attachments is solely for the use of the individual or
> entity to whom it is addressed. Please also be aware that DnB NOR cannot
> accept any payment orders or other legally binding correspondence with
> customers as a part of an email. 
> 
> This email message has been virus checked by the virus programs used
> in the DnB NOR Group.
> 
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
Dr. Sean Radford, MBBS, MSc
[EMAIL PROTECTED]
http://bladesys.demon.co.uk/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Developer TZ offset and timezone

2004-03-01 Thread Sean Radford
Ah... Any reason why it shouldn't be (the more logical) UTC?

Sean

On Mon, 2004-03-01 at 09:14, Martin Skopp wrote:
> On Sat, 2004-02-28 at 14:29, Sean Radford wrote:
> > Anyone know what the pom.developers.developer.timezone value actually
> > relates to?
> 
> IMHO it's related to "Ben time" (=Brisbane, Australia).
> I remember there have been discussion on the ICQ and/or developer
> mailing list...
-- 
Dr. Sean Radford, MBBS, MSc
[EMAIL PROTECTED]
http://bladesys.demon.co.uk/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: problem in installing maven

2004-02-29 Thread Sean Radford
Looks like your system can't find www.ibiblio.org to download the jars
it needs...


On Sun, 2004-02-29 at 15:15, Neta Bar Tal wrote:
> Hi,
> I'm facing problems in installing Maven.
> I'm getting the following errors when I try to use : maven
> java:compile for the first time
>  
> D:\daven>maven java:compile
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
>  
> Attempting to download ant-1.5.3-1.jar.
> Error retrieving artifact from
> [http://www.ibiblio.org/maven/ant/jars/ant-1.5.3-
> 1.jar]: java.net.UnknownHostException: www.ibiblio.org
> WARNING: Failed to download ant-1.5.3-1.jar.
> Attempting to download commons-jelly-tags-antlr-20030211.143720.jar.
> Error retrieving artifact from
> [http://www.ibiblio.org/maven/commons-jelly/jars/
> commons-jelly-tags-antlr-20030211.143720.jar]:
> java.net.UnknownHostException: ww
> w.ibiblio.org
> WARNING: Failed to download
> commons-jelly-tags-antlr-20030211.143720.jar.
> Attempting to download commons-lang-1.0.1.jar.
> Error retrieving artifact from
> [http://www.ibiblio.org/maven/commons-lang/jars/c
> ommons-lang-1.0.1.jar]: java.net.UnknownHostException: www.ibiblio.org
> WARNING: Failed to download commons-lang-1.0.1.jar.
> Attempting to download antlr-2.7.2.jar.
> Error retrieving artifact from
> [http://www.ibiblio.org/maven/antlr/jars/antlr-2.
> 7.2.jar]: java.net.UnknownHostException: www.ibiblio.org
> WARNING: Failed to download antlr-2.7.2.jar.
> The build cannot continue because of the following unsatisfied
> dependencies:
>  
> ant-1.5.3-1.jar (no download url specified)
> commons-jelly-tags-antlr-20030211.143720.jar (no download url
> specified)
> commons-lang-1.0.1.jar (no download url specified)
> antlr-2.7.2.jar (no download url specified)
>  
> Total time: 20 seconds
> Finished at: Sun Feb 29 17:14:24 IST 2004
>  
>  
>  
> can anyone help with this issue?
>  
> thanks in advance
>  
> netaB
>  
> 
> __
> -
> 
> The information contained in this message is proprietary of Amdocs,
> 
> protected from disclosure, and may be privileged.
> 
> The information is intended to be conveyed only to the designated recipient(s)
> 
> of the message. If the reader of this message is not the intended recipient,
> 
> you are hereby notified that any dissemination, use, distribution or copying of 
> 
> this communication is strictly prohibited and may be unlawful. 
> 
> If you have received this communication in error, please notify us immediately
> 
> by replying to the message and deleting it from your computer.
> 
> Thank you.
> 
> 
> -
> 
> 
> __
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
Dr. Sean Radford, MBBS, MSc
[EMAIL PROTECTED]
http://bladesys.demon.co.uk/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Developer TZ offset and timezone

2004-02-29 Thread Sean Radford
All,

Anyone know what the pom.developers.developer.timezone value actually
relates to?

In the documentation it says that it should be a value from -14 to +14.
This sounds all well and good, but on my project site the times for each
developer bear no correct relation to their true times.

For instance I am in London, UK - therefore at TZ 0 (I am on GMT), but
the time on the site for me is 20 hours in the past!

Anyone have any ideas how this is meant to work or mean? Is it just the
javascript function to calculate it is just plain wrong?


Regards,

Sean


On Fri, 2004-02-20 at 13:08, Rich wrote:
> Does Maven support the "sar" multiproject type? I don't see a sar plug-in,
> so my guess is that it doesn't. Is this something specific to Jboss?
-- 
Dr. Sean Radford, MBBS, MSc
[EMAIL PROTECTED]
http://bladesys.demon.co.uk/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Hibernate -- Best approach

2004-02-23 Thread Sean Radford
Seemed failry self-evident to me. I have the following structure:

MULTIPROJECT
--+Hibernate-module - produces a jar of persistent classes with
*.hbm.xml files
--+Application-module - produces jar of application classes
--+EJB-module - produces ejb-jar and client-jar files
--+WAR-module - produces war file
--+SAR-module - pacakes all the above up into a nice little SAR for
deploying in JBoss


Hope that helps,

Sean

On Mon, 2004-02-23 at 11:52, thorsten maus wrote:
> Is there any usecase of how to implement hibernate best in a 
> multiproject for an application server ( using jboss )
> 
> the document : http://hibernate.bluemars.net/66.html
> 
> provides a way to implement it ...
> 
> the approach does not look so easy to implement for me using maven ..
> 
> taking this approach i would
> 
> have to create a sar subproject
> where simply all descriptor files will be stored
> 
> create a hibernate classes jar .. where the corresponding classes are 
> stored
> 
> the sar file cannot keep the classes as the other packages like the war 
> package is not able to use
> classes from the sar ..
> 
> well ...
> 
> did anyone of you thought about this to the end and has it properly 
> running 
> 
> help would be really appreciated ..
> 
> greetings
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
Dr. Sean Radford, MBBS, MSc
[EMAIL PROTECTED]
http://bladesys.demon.co.uk/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Sar files

2004-02-20 Thread Sean Radford
You could just search the archives (a few messages about this in the
last 48 hours)...


http://bladesys.demon.co.uk/roller/page/sradford/Weblog/20040219#maven_sar_plugin



On Fri, 2004-02-20 at 13:08, Rich wrote:
> Does Maven support the "sar" multiproject type? I don't see a sar plug-in,
> so my guess is that it doesn't. Is this something specific to Jboss?
-- 
Dr. Sean Radford, MBBS, MSc
[EMAIL PROTECTED]
http://bladesys.demon.co.uk/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: question about jboss SAR files

2004-02-19 Thread Sean Radford
Thought I'd make mine available too:

http://bladesys.demon.co.uk/roller/page/sradford/Weblog/20040219#maven_sar_plugin

Regards,

Sean

On Wed, 2004-02-18 at 20:01, Stephane Nicoll wrote:
> There is a sar pluging that could be customized for JBoss easily
> http://loom.jcontainer.org/plugins/maven-sar/
> 
> Otherwise, I remember someone telling it has implemented a sar plugin in
> maven since it was quite often asked. Check the maven dev mailing list.
> 
> Regards,
> 
> Stephane
> 
> 
> -Original Message-
> From: John Casey [mailto:[EMAIL PROTECTED]
> Sent: Wed 2/18/2004 20:05
> To:   Maven User
> Cc:   
> Subject:  question about jboss SAR files
> Is there a plugin which will assemble JBoss .sar files (I assume these
> aren't unique to JBoss, but I'm not sure they're the same as Avalon
> SAR's). What I'm really after is the ability to bundle other jars within
> the SAR, like the war and ear plugins. It could also be a variation of
> the jar plugin, with bundling of properly marked dependencies...
> 
> Anyway, if this doesn't exist, I will probably write it. I just want to
> check first.
> 
> -john
-- 
Dr. Sean Radford, MBBS, MSc
[EMAIL PROTECTED]
http://bladesys.demon.co.uk/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How does one register a plug-in?

2003-07-15 Thread Sean Radford
Doh! that was it - was stupid/lazy and hadn't looked down the long
directory of plugins for files at the bottom!

Cheers,

Sean

On Mon, 2003-07-14 at 10:40, Marc Gemis wrote:
> On 13-07-2003 23:56, "Sean Radford" <[EMAIL PROTECTED]> wrote:
> 
> > And where are these *.cache files located?
> > 
> > Looked in:
> > 
> > 1. MAVEN_HOME/
> > 2. ~/.maven/
> > 3. /tmp
> > 
> > (I'm running on linux by the way)
> > 
> 
> in ${MAVEN_HOME}/plugins
> 
> m.
> 
> 
> -----
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
Dr. Sean Radford, MBBS, MSc
<[EMAIL PROTECTED]>
http://bladesys.demon.co.uk/
Blade Systems


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How does one register a plug-in?

2003-07-14 Thread Sean Radford
And where are these *.cache files located?

Looked in:

1. MAVEN_HOME/
2. ~/.maven/
3. /tmp

(I'm running on linux by the way)

Sean

On Sun, 2003-07-13 at 22:17, Ben Walding wrote:
> Make sure you delete the *.cache files.
> 
> Dave Ford wrote:
> 
> >I just copied one the plug-ins from the plug-ins folder and used it to
> >create my own plug-in. when I go to run it, Maven tells me that the plug-in
> >does not exist in this project. Do I have to register the plug-in somewhere?
> >
> >Dave Ford
> >Smart Soft - The Developer Training Company
> >http://www.smart-soft.com
> >
> >
> >
> >-
> >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]
-- 
Dr. Sean Radford, MBBS, MSc
<[EMAIL PROTECTED]>
http://bladesys.demon.co.uk/
Blade Systems


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]