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

Reply via email to