Hi,

I'm new to Castor too.

I put database.xml and mapping.xml in the root of my VisualAge project's 
ressources using Castor and then I have:
...
lc_jdo.setConfiguration("database.xml");

in database.xml, I have:
...
  <mapping href="mapping.xml" />
...

Hope this helps.

Fr�d�ric


En r�ponse � [EMAIL PROTECTED]:

> 
> My first experience with the Castor project :
> 
> When trying to test your default example, i receive this error :
> 
> Nested error: org.xml.sax.SAXParseException: File "mapping.xml" not
> found.
> 
> I'am using Visual Age for Java. Where should my mapping file be or
> what else can be wrong ?
> 
> Any ideas ?
> 
> thanx
> 
> Jan
> 
> 
> -----------------------------------------------------------------
> ATTENTION:
> The information in this electronic mail message is private and
> confidential, and only intended for the addressee. Should you
> receive this message by mistake, you are hereby notified that
> any disclosure, reproduction, distribution or use of this
> message is strictly prohibited. Please inform the sender by
> reply transmission and delete the message without copying or
> opening it.
> 
> Messages and attachments are scanned for all viruses known.
> If this message contains password-protected attachments, the
> files have NOT been scanned for viruses by the ING mail domain.
> Always scan attachments before opening them.
> -----------------------------------------------------------------
> 
> ----------------------------------------------------------- 
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
>       unsubscribe castor-dev
> 
> 



Fr�d�ric Aug�
Ing�nieur d'�tudes et d�veloppement
Soci�t� Improve - Tel : 01.41.97.83.20
<http://www.improve.fr> <http://www.application-servers.com>

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

Reply via email to