Hi Dakshika, I noticed the same behavior in latest ES-1.2.0-SNAPSHOT. You can't keep zip files within jaggeryapps/ dir.
On Tue, Jul 29, 2014 at 2:49 PM, Dakshika Jayathilaka <daksh...@wso2.com> wrote: > @udataR: I have tested with jaggery server(standalone pack > jaggery-0.9.0-SNAPSHOT) and seems you can keep Zip files inside app > container without auto extraction. > > But it will auto extract on AS. :) > > *Dakshika Jayathilaka* > Software Engineer > WSO2, Inc. > lean.enterprise.middleware > 0771100911 > > > On Tue, Jul 29, 2014 at 9:06 AM, Dilan Udara Ariyaratne <dil...@wso2.com> > wrote: > >> Hi Buddhima, >> >> Once you have created your jaggery app (let's name the containing folder >> as <your-jaggery-app-root-folder>), select all the files and folders inside >> <your-jaggery-app-root-folder> >> and compress the files into a .zip file which you can upload to the >> Application server under this path: >> Home > Manage > Applications > Add > Jaggery >> >> If you are simply using the jaggery server to get this done, copy >> <your-jaggery-app-root-folder> with its content to <jaggery-server>/apps >> and start the server. >> Now, you should be able to access your application using the following >> url: >> http://localhost:9763/<your-jaggery-app-roo-folder> by default. >> >> Cheers... >> >> >> >> >> >> >> >> >> >> >> >> *Dilan U. Ariyaratne* >> Software Engineer >> WSO2 Inc. <http://wso2.com/> >> Mobile: +94775149066 >> lean . enterprise . middleware >> >> >> On Tue, Jul 29, 2014 at 2:17 PM, Udara Rathnayake <uda...@wso2.com> >> wrote: >> >>> Hi Buddhima, >>> >>> If you upload a zip file to any location within >>> <JAGGERY_SERVER>/repository/deployment/server/jaggeryapps/ , server will >>> treat that file as a webapp and unzip it for you. >>> >>> You can try this behavior by copying a zip file to a directory inside >>> your webapp. But I'm not sure whether this behaviour is correct or not. >>> File API[1] might help you further. >>> >>> [1] http://jaggeryjs.org/documentation.jag?api=file >>> >>> Regards, >>> UdaraR >>> >>> >>> On Tue, Jul 29, 2014 at 2:05 PM, Buddhima Wijeweera <buddh...@wso2.com> >>> wrote: >>> >>>> Hi, >>>> >>>> I'm currently developing a Jaggery app, which user can upload a zip >>>> file. After uploading the zip file, Jaggery app should extract that zip >>>> file & put the content in to a folder (at server-side). >>>> >>>> So I would like to know how can I do this or is there any place where >>>> this is already implemented. >>>> >>>> Thank You! >>>> >>>> -- >>>> Buddhima Wijeweera >>>> Software Engineer; WSO2 Inc.; http://wso2.com , >>>> >>>> Email: buddh...@wso2.com >>>> Blog: https://buddhimawijeweera.wordpress.com >>>> GitHub Profile: https://github.com/Buddhima >>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> Dev@wso2.org >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> *Udara Rathnayake* >>> Software Engineer >>> WSO2 Inc. : http://wso2.com >>> >>> Mobile : +94 772207239 >>> Twitter : http://twitter.com/udarakr >>> Blog : http://udarakr.blogspot.com >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > -- *Udara Rathnayake* Software Engineer WSO2 Inc. : http://wso2.com Mobile : +94 772207239 Twitter : http://twitter.com/udarakr Blog : http://udarakr.blogspot.com
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev