Hi Janek,

Thanks for reporting the problem; I've checked in some code that might
fix it.

Arnaud



> -----Original Message-----
> From: Janek Schwarz [mailto:j.schwarz@;i-change.de]
> Sent: Monday, November 04, 2002 1:09 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [castor-dev] Trouble with castor.properties
> 
> [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

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to