Hi,
I never had this problem under CCnet 1.5 but I guess this thread could help
you :
http://groups.google.com/group/ccnet-devel/browse_thread/thread/72a01ecbdded1a37
As Cedric said :
This is a sample of the configuration file xml:-
<package>
<name>$(solutionName)</name>
<compression>9</compression>
<manifest type="defaultManifestGenerator" />
<packageList>
<file sourceFile="myAsm.dll"/>
<file sourceFile="myPlugin.dll" targetFileName="yourPlugin.dll"/>
<file sourceFile="myProject\bin\release\myAsm.dll"
targetFolder="\"/>
<file sourceFile="myProject\bin\release\myAsm.dll"
targetFileName="myAsm2.dll" targetFolder="\myProject2\bin\release"/>
<folder sourceFolder="myProject\bin" fileFilter="*.xml"
includeSubFolders="true" flatten="true"/>
<folder sourceFolder="myProject\bin" fileFilter="*.pdb"
includeSubFolders="true" targetFolder="\debugfiles/>
</packageList>
</package>
With kind regards,
Benjamin Baumann
2010/7/16 Lubomir Todorov <[email protected]>
> Hello,
> I have used in my work ccnet 1.4 and in all projects that are on the
> server, I use package publisher, for building zip files with the
> artifacts. Recently my boss told me to upgrade the version of ccnet,
> so I downloaded 1.6.x and installed it, and I had problem with the
> package publisher. So, it looks like this in the configuration:
>
> <package>
> <name>Mosaic_Onyx2</name>
> <compression>9</compression>
> <baseDirectory>X:\pipeline-onyx\Stabilisation\Output\Tools</
> baseDirectory>
> <files>
> <file>Debug\Exe\Mosaic\**\*.*</file>
> <file>Release\Exe\Mosaic\**\*.*</file>
> </files>
> </package>
>
> and it works in ccnet 1.4, but ccnet 1.6 throws an error message, that
> is that I am missing a xml node, called "packageList" and it doesn't
> work. So, I searched everywhere in the documentations online how is
> the correct syntax, but I didn't found anything about this node
> <packageList>. I tried this syntax in the ccnet 1.6:
>
> <package>
> <name>Mosaic_Onyx2</name>
> <packageList>
>
> X:\pipeline-onyx\Stabilisation\Output\Tools\Release\Exe\Mosaic\*.*
> </packageList>
> </package>
>
> and it doesn't throw an error, but it doesn't make the package also,
> so this variant also doesn't work.
> Please, if someone knows how is the correct syntax to tell me, this is
> for my job and I can't get my work done without this.
> Thanks in advance.