Any ideas anyone? I would really like this to work as an integrated solution so I am hoping I am just missing something, or miss-understanding its use. Does anyone have an example that would do what I am attempting? Kevin F.
On Wednesday, May 2, 2012 11:13:57 AM UTC-4, Kevin Fernandes wrote: > I am having some issues using the Package Publisher with CCNET 1.6 > > I want to package all files and folders under a specified folder so I use > the following to do this > > <package> > <name>test.zip</name> > <outputDir>D:\output</outputDir> > <packageList> > <packageFolder sourceFolder="D:\productsrc\web" fileFilter="*.*" > includeSubFolders="true"/> > </packageList> > </package> > > This works to package everything but roots the files in the zip to the > "sourceFolder" not relative to the source folder. > > I tried specifying the "targetFolder" to be "\" but it just flattened the > entire structure and did not preserve the paths. > > Do I need to specify a "packageFile" or "packageFolder" for each > file/folder I want? This would be harsh becuse I have a pretty complex > tree of files and folders. > Or is there a magic way to specify the targetFolder so everything is > relative? > I hope I am just missing something obvious. > > Thanks in advance > Kevin F. > > On Wednesday, May 2, 2012 11:13:57 AM UTC-4, Kevin Fernandes wrote: > > I am having some issues using the Package Publisher with CCNET 1.6 > > I want to package all files and folders under a specified folder so I use > the following to do this > > <package> > <name>test.zip</name> > <outputDir>D:\output</outputDir> > <packageList> > <packageFolder sourceFolder="D:\productsrc\web" fileFilter="*.*" > includeSubFolders="true"/> > </packageList> > </package> > > This works to package everything but roots the files in the zip to the > "sourceFolder" not relative to the source folder. > > I tried specifying the "targetFolder" to be "\" but it just flattened the > entire structure and did not preserve the paths. > > Do I need to specify a "packageFile" or "packageFolder" for each > file/folder I want? This would be harsh becuse I have a pretty complex > tree of files and folders. > Or is there a magic way to specify the targetFolder so everything is > relative? > I hope I am just missing something obvious. > > Thanks in advance > Kevin F. > > On Wednesday, May 2, 2012 11:13:57 AM UTC-4, Kevin Fernandes wrote: > > I am having some issues using the Package Publisher with CCNET 1.6 > > I want to package all files and folders under a specified folder so I use > the following to do this > > <package> > <name>test.zip</name> > <outputDir>D:\output</outputDir> > <packageList> > <packageFolder sourceFolder="D:\productsrc\web" fileFilter="*.*" > includeSubFolders="true"/> > </packageList> > </package> > > This works to package everything but roots the files in the zip to the > "sourceFolder" not relative to the source folder. > > I tried specifying the "targetFolder" to be "\" but it just flattened the > entire structure and did not preserve the paths. > > Do I need to specify a "packageFile" or "packageFolder" for each > file/folder I want? This would be harsh becuse I have a pretty complex > tree of files and folders. > Or is there a magic way to specify the targetFolder so everything is > relative? > I hope I am just missing something obvious. > > Thanks in advance > Kevin F. > > On Wednesday, May 2, 2012 11:13:57 AM UTC-4, Kevin Fernandes wrote: > > I am having some issues using the Package Publisher with CCNET 1.6 > > I want to package all files and folders under a specified folder so I use > the following to do this > > <package> > <name>test.zip</name> > <outputDir>D:\output</outputDir> > <packageList> > <packageFolder sourceFolder="D:\productsrc\web" fileFilter="*.*" > includeSubFolders="true"/> > </packageList> > </package> > > This works to package everything but roots the files in the zip to the > "sourceFolder" not relative to the source folder. > > I tried specifying the "targetFolder" to be "\" but it just flattened the > entire structure and did not preserve the paths. > > Do I need to specify a "packageFile" or "packageFolder" for each > file/folder I want? This would be harsh becuse I have a pretty complex > tree of files and folders. > Or is there a magic way to specify the targetFolder so everything is > relative? > I hope I am just missing something obvious. > > Thanks in advance > Kevin F. > > On Wednesday, May 2, 2012 11:13:57 AM UTC-4, Kevin Fernandes wrote: > > I am having some issues using the Package Publisher with CCNET 1.6 > > I want to package all files and folders under a specified folder so I use > the following to do this > > <package> > <name>test.zip</name> > <outputDir>D:\output</outputDir> > <packageList> > <packageFolder sourceFolder="D:\productsrc\web" fileFilter="*.*" > includeSubFolders="true"/> > </packageList> > </package> > > This works to package everything but roots the files in the zip to the > "sourceFolder" not relative to the source folder. > > I tried specifying the "targetFolder" to be "\" but it just flattened the > entire structure and did not preserve the paths. > > Do I need to specify a "packageFile" or "packageFolder" for each > file/folder I want? This would be harsh becuse I have a pretty complex > tree of files and folders. > Or is there a magic way to specify the targetFolder so everything is > relative? > I hope I am just missing something obvious. > > Thanks in advance > Kevin F. > >
