For our project, we need to have some properties files that are external
to our ejb-jar that we deploy. We also need to apply filtering to these
files in the standard resource manner.
 
I have the following in my pom.xml
 
<resources>
    <resource>
    <directory>src/main/external-resources</directory>
    <filtering>true</filtering>
    <targetPath>../external-resources</targetPath>
  <resource>
  ...
</resources>
 
This works fine when I do a build and I need to include the ../ before
the external-resources as the target path is relative to the classes
directory and I want them to sit outside that directory so they are not
packaged up in the ejb-jar.
 
My problem comes that when I run mvn eclipse:eclipse I get an error:
"Can't canonicalize system path:
C:\project\my-ejb\C:\project\external-resources"
 
Any help much appreciated.
Cheers



This message should be regarded as confidential. If you have received this 
email in error please notify the sender and destroy it immediately.
Statements of intent shall only become binding when confirmed in hard copy by 
an authorised signatory.  The contents of this email may relate to dealings 
with other companies within the Detica Group plc group of companies.

Detica Limited is registered in England under No: 1337451.

Registered offices: Surrey Research Park, Guildford, Surrey, GU2 7YP, England.


Reply via email to