Hi Tim, I don't think it was a mistake. I think part of the original motivation was to simplify the whole business of filtering but it may have been simplified at the expense of some useful features. In the short term you can cause any web.xml file to be filtered by setting <filtering>true</filtering> in the appropriate UI pom, would that suffice ? Its set to false by default to allow filtering during the Ant phase.
In the long term I think the problem is that we use dspace.cfg to filter dspace.dir in web.xml, but dspace.cfg already lives in dspace.dir, its all a bit contrary. My feeling is that dspace.dir should be set outwith the webapp, by an environment variable or some such, so that the same webapp can be used in multiple environments without having to be rebuilt or refiltered. Cheers. On 17/10/12 20:33, Tim Donohue wrote: > Hi all, > > It took me until today to realize that, as part of the new > build.properties addition, we no longer have a "dspace.config" profile > in our web application POMs. > > Here's the change in the pull request #40 that removed this option: > https://github.com/DSpace/DSpace/pull/40/files#L6L67 > > In DSpace 1.8 & prior, you could specify the property > "dspace.config=[path-to-a-dspace.cfg]" in your IDE of choice (e.g. > NetBeans, IDEA), in order to tell that IDE to use a specific dspace.cfg > during startup of a DSpace webapp. > > This was a nice feature, as it allowed you to more easily run DSpace > webapps from your IDE itself (and tweak/debug them on the fly). > > With the addition of the 'build.properties' file, this feature was > removed and seemingly hasn't been replaced with any equivalent (unless > I'm overlooking it)? > > I'm wondering if this is a mistake, or if we have an "undocumented" > replacement that I'm overlooking? What are others doing in their IDEs? > > (I'm still an avid NetBeans user, but I know many of the concepts are > the same between IDEA / Eclipse / Netbeans, so I'd be curious to hear > from anyone about this.) > > In the meantime, I'll keep digging around to see if there's a way to use > build.properties to do what I need, or see if I can add back in the old > "dspace.config" profile I used so heavily. > > - Tim > -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Dspace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-devel
