HEADS UP: bottles / bottles deployment

30 views
Skip to first unread message

Dru Sellers

unread,
Apr 28, 2011, 5:32:45 PM4/28/11
to FubuMVC Development Group
I need a place to start communicating out the changes I am making to bottles and packaging so why not here?

.package-manifest
BREAKING CHANGE ::    .fubu-manifest -> .package-manifest { role = application }

you can see one of these in ~/src/FubuTestApplication

A sample file looks like:

<?xml version="1.0"?>
<package xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Name>test</Name>
  <Role>Application</Role>
  <Assemblies>FubuTestApplication</Assemblies>
  <DataFileSet Include="*.*">
    <DeepSearch>true</DeepSearch>
  </DataFileSet>
  <ContentFileSet Include="*.as*x;*.master;Content\*.*;*.config">
    <DeepSearch>true</DeepSearch>
  </ContentFileSet>
</package>


All packages are identified by a .package-manifest file. All of the key pieces of a package are currently expressed via the PackageManifest.
you create a package by saying (from your root) bottles init-pak <path/to/projectdir> <name>

Example

bottles init-pak src/FubuTestApplication test

currently you have to hand modify the package manifest.

Just wanted to give you a heads up, I will be continuing to work on this tomorrow.

-d

smerrell

unread,
Apr 29, 2011, 1:15:57 PM4/29/11
to fubumv...@googlegroups.com
Thanks for the heads up Dru! I've been seeing your commits to the repository flying by so its good to see whats going on in the mailing list.

One question, do you guys plan on putting up a Schema or reference of what's available in the package-manifest? I've done a little digging through the code but it'd be nice if I could just look at some documentation on what's all available in the package manifest.

Dru Sellers

unread,
Apr 29, 2011, 2:37:05 PM4/29/11
to fubumv...@googlegroups.com
That I can do. I have a few more things to hash out, after which the package manifest should be much more stable. At that point you should expect to see some XML docs in the code if NOTHING else. :)

but putting together more than that is on my list too. :)

-d

On Fri, Apr 29, 2011 at 12:15 PM, smerrell <merre...@gmail.com> wrote:
Thanks for the heads up Dru! I've been seeing your commits to the repository flying by so its good to see whats going on in the mailing list.

One question, do you guys plan on putting up a Schema or reference of what's available in the package-manifest? I've done a little digging through the code but it'd be nice if I could just look at some documentation on what's all available in the package manifest.

--
You received this message because you are subscribed to the Google Groups "FubuMVC Development Group" group.
To post to this group, send email to fubumv...@googlegroups.com.
To unsubscribe from this group, send email to fubumvc-deve...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/fubumvc-devel?hl=en.

smerrell

unread,
Apr 29, 2011, 4:11:13 PM4/29/11
to fubumv...@googlegroups.com
Thanks! I'll probably be poking around all the changes since I'm going to do some Fubu work today. I'm looking forward to seeing everything that you guys have put in so far.

Dru Sellers

unread,
Apr 29, 2011, 4:21:33 PM4/29/11
to fubumv...@googlegroups.com
here is a sample run to start up a bottle deploy type thing too

in the root of your project - which i will ref as '~'
so I put the bottle code in '~/lib/bottles'
then we have a bat file at '~/bottles.bat' that i can run from the root

commands

bottles init

#per project file
bottles init-pak src\MyProject myproj
bottles add-pak myproj

bottles init-pak src\MyProject.Web myprojweb
bottles add-pak myprojweb

#bottles add-directive <recipename> <hostname> <directive>
bottles add-directive baseline web FubuWebsite -open #really its just an iis site

#edit directive

bottles ref baseline web myproj
#adds the myproj to the the myprojweb

bottles create-all

bottles deploy


It needs some love still, but I am trying to get the 'atoms' right so that this can be more composed in the future. aka less typing. :)

-d




On Fri, Apr 29, 2011 at 3:11 PM, smerrell <merre...@gmail.com> wrote:
Thanks! I'll probably be poking around all the changes since I'm going to do some Fubu work today. I'm looking forward to seeing everything that you guys have put in so far.

--
Reply all
Reply to author
Forward
0 new messages