Yep. What ever product that uses the jaggery feature has this problem. This was discussed before as well [1]
[1] - [Architecture] Jaggery unzips all folders? Cheers~ On Tue, Jul 29, 2014 at 9:15 PM, Udara Rathnayake <uda...@wso2.com> wrote: > 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 > > -- Chan (Dulitha Wijewantha) Software Engineer - Mobile Development WSO2 Inc Lean.Enterprise.Mobileware * ~Email duli...@wso2.com <duli...@wso2mobile.com>* * ~Mobile +94712112165* * ~Website dulitha.me <http://dulitha.me>* * ~Twitter @dulitharw <https://twitter.com/dulitharw>* *~Github @dulichan <https://github.com/dulichan>* *~SO @chan <http://stackoverflow.com/users/813471/chan>*
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev