[EMAIL PROTECTED] wrote:
> Hello
>
> I have a problem in making castor use my own castorbuilder.properties.
>
> Here is what I notice :
> * When I launch the builder from command line in the directory where
my own
> castorbuilder.properties is stored, no problem it is found and castor
uses
> my properties.
> * When I launch the builder from Ant, the builder cannot find my
> castorbuilder.properties anymore even if I set dir argument to proper
> directory.
>
> What is exactly the search algorithm that castor uses to find
> castorbuilder.properties ?
> I suspect a classpath problem, what do you think ?
>
> Thanks a lot!
Just last weekend I found a bug in the way the sourcegenerator handles
properties when using setDefaultProperties(properties) on it
programatically (which is what the ant task does).
In that case, it simply does not update it's internal tables of
namespace-to-packagename conversions etc.
It can be easily fixed by factoring the initilization code out of load()
and calling that method from setDefaultProperties(properties).
Unfortunately, I didn't have the time to diff it and submit a patch as I
still work with castor 0.9.3.9.
Janek.
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
- [castor-dev] Trouble with castor.properties mdjambert
- Re: [castor-dev] Trouble with castor.properties Janek Schwarz
- Re: [castor-dev] Trouble with castor.properties Arnaud Blandin
