I have checked the WEB-INF/lib for stray copies and I checked the actual jars. That all seems allright. I also did the mvn clean install and the jar it produces seems to be correct. I will try installing the module on a fresh Magnolia to see if I overlook something. I will keep the list updated with my findings. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Jan Haderka Sent: Friday, November 06, 2009 9:27 AM To: Magnolia User-List Subject: Re: [magnolia-user] How to remove scripts from the resources workspace
Check the web-inf/lib for stray copies of your module. And also make sure that the file is gone from the jar file. Just a stupid question - did you rebuild the module completely with "mvn clean install"? HTH, Jan On Thu, 2009-11-05 at 17:20 +0100, Ron de Ridder wrote: > Dear List, > > > > I am using the resources workspace from the STK to store my > javascript. I am basically doing the same as the STK to install the > scripts. > > > > I am installing one all.js script as a processedjavascript file and > the rest of the scripts underneath the all.js script as regular > javascript files. > > > > Example > > this.addTask(new InstallResourceTask(COMICS_JAVASCRIPT_RESOURCES_PATH > + "/all.js", "processedJs", STKResourceModel.class.getName())); > > this.addTask(new InstallResourceTask(COMICS_JAVASCRIPT_RESOURCES_PATH > + "/all/" + script, "js")); > > > > This all works great and we can edit the files from within Magnolia. > Now I want to delete a file from underneath all.js so I deleted the > whole all tree from within magnolia with a right-click delete and I > also removed the script from our sourcecode and from the installtask. > Unfortunately the deleted script keeps appearing again. Even when I > delete the all script and don’t run any of the javascript install > tasks the whole all script appears again. Any ideas ? > > > > Thanks, > > > > Ron > > > > > > ______________________________________________________________________ > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ---------------------------------------------------------------- -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
