I've been trying to extract a simple site using the API. I can pacakge successfully (with the exception that for some reason no manifest.xml file is created).
I extract with the following code:
var repositoryStorage = new RepositoryStorage(); var source = repositoryStorage.GetByAlias("Source"); var destination = repositoryStorage.GetByAlias("Destination"); repositoryStorage.Dispose(); var engine = new RevisionExtraction(source, destination, "source.local"); ExtractionEventSubscriptions(engine); engine.PopulateGraph(); engine.Extract(); engine.Dispose();
The extraction seems to be successful, but when I browse to the admin site I can see all items have been deployed barring the physical *.css & *.master files.
I have logging hooked up so that I can see as best as possbile what is happening during the extraction. I can see Item resources getting extracted (both the extracting and extracted events), followed by items (again extracting and extracted), followed by the post processing events for each item. However... once these are done, the following is logged:
Extracting with API
I'm using Umbraco 4.11.4 & Courier 2.7.3.39
I've been trying to extract a simple site using the API. I can pacakge successfully (with the exception that for some reason no manifest.xml file is created).
I extract with the following code:
The extraction seems to be successful, but when I browse to the admin site I can see all items have been deployed barring the physical *.css & *.master files.
I have logging hooked up so that I can see as best as possbile what is happening during the extraction. I can see Item resources getting extracted (both the extracting and extracted events), followed by items (again extracting and extracted), followed by the post processing events for each item. However... once these are done, the following is logged:
2013-03-05 15:45:33,977 - Extracting Item Resources: Starterkit (Stylesheets)
2013-03-05 15:45:34,035 - Extracting Item Resources: CommentRss (Templates)
2013-03-05 15:45:34,047 - Extracting Item Resources: Rss (Templates)
2013-03-05 15:45:34,060 - Extracting Item Resources: Blog Datefolder (Templates)
2013-03-05 15:45:34,074 - Extracting Item Resources: Blog post (Templates)
2013-03-05 15:45:34,087 - Extracting Item Resources: Business Homepage (Templates)
2013-03-05 15:45:34,101 - Extracting Item Resources: Homepage (Templates)
2013-03-05 15:45:34,114 - Extracting Item Resources: Starterkit Master (Templates)
2013-03-05 15:45:34,128 - Extracting Item Resources: News (Templates)
2013-03-05 15:45:34,147 - Extracting Item Resources: News Article (Templates)
2013-03-05 15:45:34,161 - Extracting Item Resources: Textpage (Templates)
As can be seen there is no extracted item resources event that corresponds to any of these.
Any ideas what might be going wrong?
I've tried the latest nightly Courier_2.7.4_2.7.3.80.v4.zip and it doesn't work either...In fact it won't package either.
is working on a reply...