Hi there,

I'm currently with the same problem, but I couldn't find a solution.

My build deploys in a folder with the following structure:

C:\builds\MyApp.

Inside MyApp I have other files and directories, for example:

C:\builds\MyApp\MyApp.exe
C:\builds\MyApp\MyApp.dll
C:\builds\MyApp\UserFiles\DefaultFile.xml
C:\builds\MyApp\UserFiles\logo.gif

I'm using the package publisher with the following syntax:

<packageFolder sourceFolder="C:\builds\MyApp\" fileFilter="*.*" 
includeSubFolders="true" flatten="false" />

The resulting zip appendes the full path in the target file: 
C:\builds\MyApp\...

I want to supress the prefix, just putting MyApp.exe, MyApp.dll, 
UserFiles\Default.xml.

The problem is that if I use a targetFolder="/", the files inside the 
subdirectories are also in the root dir... :-(

I tried several combinations and none worked.

Is there a way to pack the subdirectories elimating the C:\Builds\MyApp 
prefix?


Regards,

Eric


Reply via email to