Caution: Not always true that  ${maven.build.dir} == ${basedir}/target

-----Original Message-----
From: Sonnek, Ryan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 10:41 AM
To: 'Maven Users List'
Subject: RE: beta-10 jar resources fails


I've somewhat solved this problem for me.  It has something to do with a
change to the property maven.build.dir.  my project.properties was

maven.xdoclet.webdoclet.destDir=${maven.build.dir}/xdoclet/webdoclet

I had to change it to:

maven.xdoclet.webdoclet.destDir=${basedir}/target/xdoclet/webdoclet

it seems as if maven.build.dir is using a relative path instead of the
physical path.  Is there any way to check if this is the case?


-----Original Message-----
From: Sonnek, Ryan [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 15, 2003 11:32 AM
To: 'Maven Users List'
Subject: beta-10 jar resources fails

Upgraded to beta 10 this morning and the jar goal is not picking up required
resources.  This worked in beta 9 and I can't tell in the jelly script where
it is failing.  Any ideas on how to troubleshoot this?

Here's the part of my project.xml that worked in beta 9:
  <build>
    <resources>
      <resource>
        <directory>${maven.xdoclet.webdoclet.destDir}</directory>
        <includes>
          <include>**/*.tld</include>
        </includes>
      </resource>
    </resources>
  </build>

Ryan

---------------------------------------------------------------------
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]




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

Reply via email to