Hi Colin,
Thanks for getting to this so quickly. I spoke to both Justin and
Michelle about the repeated code issue with this patch - I am also not
happy with it, and had hoped that a review might bring a better solution
to light. I'll look into the <if> more.
Ideally we wouldn't need the settings.xml file pointer at all. However
it seems that there is an issue with the web "user" not having access to
the default settings file without this pointer. I'm not sure how to find
a solution for that problem.
Laurel
Colin Clark wrote:
Hi Laurel,
On 18-Jun-09, at 11:50 AM, Laurel A. Williams wrote:
Hi all,
In order to get the customBuild working on the website I had to
modify the build.xml to point to the mvn settings file. This task is
listed as http://issues.fluidproject.org/browse/FLUID-2937
I've attached a patch to the JIRA for review.
A good starting point, but this doesn't look quite right. In the
patch, we've got a proliferation of highly similar or even identical
code, all revolving around this set of conditionals for the platform
and the Maven settings file. I think this can probably be refactored
into a less repetitive form.
Worst case, Ant's <if> task should do the trick. Another option is to
revisit this issue of the settings.xml file and see if there's a
simpler way to resolve it.
Colin
---
Colin Clark
Technical Lead, Fluid Project
Adaptive Technology Resource Centre, University of Toronto
http://fluidproject.org
--
Laurel A. Williams
Adaptive Technology Resource Centre
University of Toronto
_______________________________________________________
fluid-work mailing list - [email protected]
To unsubscribe, change settings or access archives,
see http://fluidproject.org/mailman/listinfo/fluid-work