Yeah, that was my first try... that just spits out the jvm
properties. The Property task sets userProperties, so I figure I'm on the
right track, just not quite there )o:
ta
dim
On Wed, 3 Oct 2001 [EMAIL PROTECTED] wrote:
> Have you tried getProperties() instead?
>
> ----- Original Message -----
> From: Dmitri Colebatch <[EMAIL PROTECTED]>
> Date: Wednesday, October 3, 2001 1:35 pm
> Subject: [Xdoclet-devel] ant Project..getUserProperties()
>
> > before I post this to ant-dev, anyone here have an idea why this
> > doesn'tappear to work...
> >
> > Hashtable userProperties =
> > getOwningTarget().getProject().getUserProperties();
> > Enumeration keys = userProperties.keys();
> > while( keys.hasMoreElements() )
> > {
> > Object key = keys.nextElement();
> > System.out.println( "[" + key + "=" +
> > userProperties.get( key ) + "]" );
> > }
> >
> > I only get:
> >
> > [ejbdoclet]
> > [ant.file=/export/home/dim/cvs/xdoclet/core/samples/script/build.xml]
> > [ejbdoclet] [ant.project.name=Test]
> > [ejbdoclet] [ant.version=Ant version 1.4 compiled on September 3 2001]
> >
> > where I would expect to see all the properties set in init... ideas?
> >
> > cheers
> > dim
> >
> >
> > _______________________________________________
> > Xdoclet-devel mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
> >
>
>
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel