Re: Need to specify the external JARs used in module.xml?
"Krysalis USB" <[email protected]> Wed, 06 Aug 2003 11:59:45 -0700
| Newsgroups | gmane.comp.krysalis.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks Adam for your response. For your information, I am using Hiberate
2.0.1 (not the beta5).
I added the depends directive you supplied to my project. It did not do any
good. Here the copy of the module.xml I am using:
<?xml version="1.0"?>
<module name="ids-framework" fullname="IDS Framework">
<url href="http://localhost:8080/efe/browse"/>
<!--
<site hostname="localhost"
remotedir="/home/groups/k/kr/krysalis/htdocs/templates/krysalis-project"/>
-->
<cvs repository="cvsrepo"
host-prefix="cvshost"
dir="/cvsdir"
module="Framework"/>
<jars repository="maven"
href="http://www.ibiblio.org/maven/"/>
<description>
Description
</description>
<detailed>
Deatailed description
</detailed>
<what>
<goal>
Goals.
</goal>
</what>
<why>
Why?
</why>
<vendor>Vendor</vendor>
<licence legal="./legal">
This software is released under the Krysalis Patchy Software
License 1.1_01.
For detailed legal and licensing issues, please read the
LICENSE.* files
in the /legal directory.
</licence>
<credits>
<credit>This software includes software developed by the Apache
Software Foundation
(http://www.apache.org/).
</credit>
</credits>
<project name="ids-framework" fullname="IDS Framework">
<version major="0"
minor="0"
fix ="1"
tag="HEAD"/>
<package>com.usbank</package>
<depends project="hibernate2.jar" version="supplied"/>
<ant target="gump" vm="1.2"/>
<!-- Work dirs to be included in classpath -->
<work nested="build/classes"/>
<work nested="lib"/>
<home nested="build"/>
<code type="java/plain" dir="src/java"/>
<test type="test/junit" dir="src/test"/>
<documentation type="xml/forrest" dir="src/documentation"/>
</project>
</module>
Thanks.
>From: "Adam Jack" <[email protected]>
>Reply-To: [email protected]
>To: <[email protected]>
>Subject: Re: Need to specify the external JARs used in module.xml?
>Date: Wed, 6 Aug 2003 12:51:05 -0600
>
>Yes, I think you should say <depends project="hibernate.jar"
>version="supplied"/> in your module.xml for your project.
>
>I am feeling a tad rusty on your version (beta5 I assume) but don't think
>it'll find things in lib w/o a hint.
>
>regards
>
>Adam
>----- Original Message -----
>From: "Krysalis USB" <[email protected]>
>To: <[email protected]>
>Sent: Wednesday, August 06, 2003 12:45 PM
>Subject: RE: Need to specify the external JARs used in module.xml?
>
>
> > Thanks for your response. I changed the JAR file in the lib folder not
>to
> > have any digits (i renamed it to hibernate.jar"). But, still it is not
>being
> > found.
> >
> > Do I have to make any entries in module.xml?
> >
> > Thanks
> >
> >
> > >From: "Nevzorov, Vlad" <[email protected]>
> > >Reply-To: [email protected]
> > >To: <[email protected]>
> > >Subject: RE: Need to specify the external JARs used in module.xml?
> > >Date: Wed, 6 Aug 2003 13:30:07 -0500
> > >
> > >Hi,
> > >
> > >I had approximately the same problem. centidepe interprets the trailing
> > >didgits as a number of version of the jar (remember version="..." in
> > >module.xml?) Simply rename the jar to something without digits or with
>an
> > >underscore, something like hibernate_2.jar.
> > >
> > >It worked for me.
> > >
> > >Regards,
> > >Vlad
> > >
> > >-----Original Message-----
> > >From: Krysalis USB [mailto:[email protected]]
> > >Sent: Wednesday, August 06, 2003 7:26 PM
> > >To: [email protected]
> > >Subject: Need to specify the external JARs used in module.xml?
> > >
> > >
> > >Hello. I am new to Krysalis and I am hitting a wall. Any help is
> > >appreciated.
> > >
> > >I created a project similar to the "krysalis-project" template. I am
>able
> > >to
> > >compile with the "SmokeTest" code present in there. I moved my source
>code
> > >to "src/java" folder and copied the external JARs required to the "lib"
> > >folder. One such external JAR that is being used is Hibernate. I have
>the
> > >file "hibernate2.jar" in the lib folder, but when I compile my code, I
>am
> > >getting the following message:
> > >
> > >ava:19: package net.sf.hibernate does not exist
> > >import net.sf.hibernate.CallbackException;
> > >
> > >I read through the documentation, I did not find anywhere that I need
>to
> > >mention the external JARs in "module.xml", "properties.xml" or
> > >"status.xml".
> > >Could you please tell me what mistake I am doing.
> > >
> > >Thanks.
> > >
> > >_________________________________________________________________
> > >STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
> > >http://join.msn.com/?page=features/junkmail
> > >
> > >
> > >
> > >-------------------------------------------------------
> > >This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> > >Data Reports, E-commerce, Portals, and Forums are available now.
> > >Download today and enter to win an XBOX or Visual Studio .NET.
> >
> >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> > >_______________________________________________
> > >krysalis-users mailing list
> > >[email protected]
> > >https://lists.sourceforge.net/lists/listinfo/krysalis-users
> > >
> > >
> > >-------------------------------------------------------
> > >This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> > >Data Reports, E-commerce, Portals, and Forums are available now.
> > >Download today and enter to win an XBOX or Visual Studio .NET.
> >
> >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> > >_______________________________________________
> > >krysalis-users mailing list
> > >[email protected]
> > >https://lists.sourceforge.net/lists/listinfo/krysalis-users
> >
> > _________________________________________________________________
> > Help STOP SPAM with the new MSN 8 and get 2 months FREE*
> > http://join.msn.com/?page=features/junkmail
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> > Data Reports, E-commerce, Portals, and Forums are available now.
> > Download today and enter to win an XBOX or Visual Studio .NET.
> >
>http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> > _______________________________________________
> > krysalis-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/krysalis-users
> >
>
>
>
>-------------------------------------------------------
>This SF.Net email sponsored by: Free pre-built ASP.NET sites including
>Data Reports, E-commerce, Portals, and Forums are available now.
>Download today and enter to win an XBOX or Visual Studio .NET.
>http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
>_______________________________________________
>krysalis-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/krysalis-users
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01