Am 21.01.2013 10:46, schrieb helix84: > On Mon, Jan 21, 2013 at 10:42 AM, <[email protected]> > wrote: >> hm Mark is talking about a JAR there and not a WAR, is that just a >> typo? > > I think WAR, what would be the use for such a JAR?
Ok, it have to be a WAR, but jar is war is zip. You have to create a jar with jar cvf ../myfile.war ./ ./ is the application directory > >> However, i think that is the problem that the configuration have to >> be >> modified manually... >> >> No i don't ran ant because i can't execute this command on an Tomcat >> hosting >> farm ... >> I have to deploy it as a WAR. >> >> I think the problem is that after the mvn clean package the files in >> the >> ware doesn't contain the configuration files with replaced >> variables. If the >> replacing happen by executing ant fresh_install i can't use the >> maven >> produced WAR's. > > Yes, it's ant's responsibility to do the replacement of placeholders > (filtering). So you may need to find a substitute for all ant's > functions if you want to make it work. Did you consider installing > DSpace locally and then creating the war(s) manually from the > installed (filtered) webapps? Hm ok ant is not possible here. Building a war from the installed application had the same problem I now changed the path in all known configuration files. I created the database, restored the schema manually and started up tomcat. Now it works. Thank you again Helix for that amazing support you are doing here! > > > Regards, > ~~helix84 > > Compulsory reading: DSpace Mailing List Etiquette > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

