I see. I guess then you will need to wait a developper answer because
there is no properties documentation (from what I know) available at
the moment. It's a regular complaint so I guess things will get fixed
soon.
On 12/21/05, Willie Vu <[EMAIL PROTECTED]> wrote:
> ${basedir} only gives me up to the project base path. I still need to
> construct the subdirectories from the groupId that user specifies when
> using my archetype:create. That's the part I don't know how to do.
>
> On 12/22/05, Alexandre Poitras <[EMAIL PROTECTED]> wrote:
> > If I rememer correctly, you can use ${basedir} wich point to the directory
> > where your pom file is located. So from there you can construct the path you
> > need. Hope it's help!
> >
> > On 12/21/05, Willie Vu <[EMAIL PROTECTED]> wrote:
> > >
> > > Archetype will create copy a resource (say file hello.xsl) into
> > > subfolders of groupId (e.g. if groupId is com.foo.abc, the xsl file is
> > > put into src/xsl/com/foo/abc/hello.xsl.) In the hello.xsl, I need to
> > > refer to the actual path where hello.xsl is located.
> > >
> > > 2 questions:
> > >
> > > 1. how do I construct a string representation to the full path where
> > > hello.xsl is?
> > > 2. what are the properties available in replacing variables in
> > > resources? I know I can use ${groupId}, ${artifactId}. What else?
> > >
> > > Regards,
> > >
> > >
> > > Willie Vu
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > Alexandre Poitras
> > Québec, Canada
> >
> >
>
>
> --
> Willie Vu
>
> HKJUG - http://hkjug.dev.java.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Alexandre Poitras
Québec, Canada
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]