you're asking a java class in the apps layer to manipulate a feature of the OS 
below it
I would suggest using an ant copy *.lnk in a suitable goal to target with 
something like
<goal name="copy" description="Copies the ProjectObjectModel to a directory"/>
    <!-- Basic Ant task -->
    <copy file="${basedir}/*.lnk" tofile="${maven.copy.target.dir}/*.lnk"/>
</goal>  Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 


> Date: Fri, 10 Oct 2008 10:46:33 -0700
> From: [EMAIL PROTECTED]
> Subject: symlink in my webapp
> To: [email protected]
> 
> Hello All,
> 
> I tried to add a symlink to a folder today in my webapp folder and after 
> running maven2 I saw that in the target I have now a duplicated folder 
> instead of a symlink to the other folder. Is there a way to tell maven to 
> copy symlinks as files?
> 
> thanks,
> Janos
> 
> 
> 
>       

_________________________________________________________________
Get more out of the Web. Learn 10 hidden secrets of Windows Live.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008

Reply via email to