The <guid> value is only used to identify a file in the package zip file.
For most of the packages that I collaborate on, we try to automate building the package itself by using MSBuild. Matt B has a good blog post about it.
There is an MSBuild task that will take all the source files and bundle them into the package - all of those file names are convered to proper GUIDs - so there are no filename clashes.
There'll be a little learning curve with package making, but as always, any questions, just ask!
The value is only used to identify a file in the package zip file.
Yeah, thought so.
For most of the packages that I collaborate on, we try to automate building the package itself by using MSBuild. Matt B has a good blog post about it.
Feels a bit unorthodox to build a package containing an ANTscript with MSBuild (and i'd like to work on the package from osx). So i think i'm gonna look into doing the same with ANTscript. Matt mention in his post that it has been done with blog for umbraco before so it shouldn't be impossible :).
EDIT: Oops, it was NAnt that was used for "Blog4Umbraco" :/
LOL! Sorry, in answer to your original question... no, the files are placed in the root of the package/zip.
For the NAnt script ... yes, take a look at the original blog4umbraco package, (which Matt linked to). Main reason I use MSBuild is being on Windows and it plays nicely with Visual Studio solutions/projects.
Package paths
Is there a way to structure the files in folders inside the package so that not every single file in the package ends up in the root.
Can i change this:
To something like this?:
I'm pretty sure you can't do it like that since guid is guid and not the path (i guess) but you get what I'm after.
Hi Johan,
The <guid> value is only used to identify a file in the package zip file.
For most of the packages that I collaborate on, we try to automate building the package itself by using MSBuild. Matt B has a good blog post about it.
There is an MSBuild task that will take all the source files and bundle them into the package - all of those file names are convered to proper GUIDs - so there are no filename clashes.
There'll be a little learning curve with package making, but as always, any questions, just ask!
Cheers, Lee.
Yeah, thought so.
Feels a bit unorthodox to build a package containing an ANTscript with MSBuild (and i'd like to work on the package from osx). So i think i'm gonna look into doing the same with ANTscript. Matt mention in his post that it has been done with blog for umbraco before so it shouldn't be impossible :).
EDIT: Oops, it was NAnt that was used for "Blog4Umbraco" :/
So, short answer to my question is no?
Thanks for all help Lee, much appreciated!
LOL! Sorry, in answer to your original question... no, the files are placed in the root of the package/zip.
For the NAnt script ... yes, take a look at the original blog4umbraco package, (which Matt linked to). Main reason I use MSBuild is being on Windows and it plays nicely with Visual Studio solutions/projects.
Cheers, Lee.
is working on a reply...