|
options.xmlc: msg#00026java.enhydra.general
Hi fellas, I was having a problem getting the xmlc option -urlregexpmapping to work on any files not in the root level resources directory. In the past, the options.xmlc file would get applied recursively to all files in subdirectories of my resources directory but that isn't happening now. I fixed it with a minor tweak to the build.xml file. Because of this property: <property name="xmlc.options.file" location="options.xmlc"/> It appears that ant is only looking for options.xmlc in the directory relative to the particular file that it's compiling. I changed this so that it looks for the options.xmlc in the top level resource directory by moving: <property name="resources.dir" value="resources"/> above the xmlc properties and changing the xmlc.options.file property to: <property name="xmlc.options.file" location="${resources.dir}/options.xmlc"/> Maybe this is just my preference but I think that it would be safe to assume that an application is generally only going to have one options.xmlc file for the entire app instead of one per subdirectory. I could be wrong but I thought at one time we were able to have any number of options files and if there wasn't one in the present directory, xmlc would climb the directory structure until it found one. Am I doing something wrong that makes this no longer work or am I just imagining that this feature existed? Jeremy
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Kelp with JBuilder 9, Petr Stehlik |
|---|---|
| Next by Date: | Changes to org.apache.xerces.dom.DocumentImpl in Enhydra 5.0, Marco Leal |
| Previous by Thread: | Kelp with JBuilder 9, Joe Osburn |
| Next by Thread: | Changes to org.apache.xerces.dom.DocumentImpl in Enhydra 5.0, Marco Leal |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |