-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 
Author Message
 Post subject: Error building hibernate-extensions-2.0.2
PostPosted: Sun Feb 22, 2004 1:57 pm 
Newbie

Joined: Sat Feb 21, 2004 1:38 am
Posts: 8
Hi again!
Well, I have a little problem. Ive downloaded hibernate and built it with no problem. But, after Ive downloaded hibernate extensions version 2.0.2 and try to build I receive the following error message:

=========
linux:/usr/local/hibernate-extensions-2.0.2/tools # ant
Buildfile: build.xml

init:
[echo] Build Hibernate Tools-2.0.1 (2004-02-22 02:54:10)

BUILD FAILED
/usr/local/hibernate-extensions-2.0.2/tools/build.xml:93: /usr/local/hibernate-extensions-2.0.2/tools/src/java not found.

Total time: 3 seconds
linux:/usr/local/hibernate-extensions-2.0.2/tools #
============

Can anybody help me ?

Thanks.

By the way, Ive already downloaded it again.. so, I dont think its corrupted.[/code]


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 22, 2004 2:01 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
Is your Ant and javac system working for other projects?

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 22, 2004 2:23 pm 
Newbie

Joined: Sat Feb 21, 2004 1:38 am
Posts: 8
yes, it is working for other projects.

For example, my hibernate was build using ant.

But it is not working for hibernate extensions as described.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 22, 2004 2:26 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
You are right, it doesn't build. I'll have a look at that, use the precompiled binaries in the package instead.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 22, 2004 2:39 pm 
Newbie

Joined: Sat Feb 21, 2004 1:38 am
Posts: 8
Ok. I'll try that.

But, if you find some information about the problem. Please, tell me.

Thanks,
Leo.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 22, 2004 3:20 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
Fixed in CVS:

Index: tools/build.xml
===================================================================
RCS file: /cvsroot/hibernate/HibernateExt/tools/build.xml,v
retrieving revision 1.4
diff -u -r1.4 build.xml
--- tools/build.xml 2 Dec 2003 22:22:51 -0000 1.4
+++ tools/build.xml 22 Feb 2004 19:13:57 -0000
@@ -19,6 +19,7 @@

<!-- set global properties for this build -->
<property name="src.dir" value="src/java"/>
+ <property name="template.dir" value="src/velocity"/>
<property name="lib.dir" value="lib"/>
<property name="build.dir" value="build"/>
<property name="dist.dir" value="target/${name}-${version}"/>
@@ -28,7 +29,8 @@
<property name="dist.doc.dir" value="${dist.dir}/doc"/>
<property name="dist.api.dir" value="${dist.dir}/doc/api"/>

- <property name="dist.src.dir" value="${dist.dir}/src"/>
+ <property name="dist.src.dir" value="${dist.dir}/src/java"/>
+ <property name="dist.template.dir" value="${dist.dir}/src/velocity"/>
<property name="dist.lib.dir" value="${dist.dir}/lib"/>
<property name="jar.name" value="${name}"/>

@@ -128,6 +130,12 @@
<patternset refid="support.files"/>
</fileset>
</copy>
+ <mkdir dir="${dist.template.dir}"/>
+ <copy todir="${dist.template.dir}">
+ <fileset dir="${template.dir}">
+ <include name="*.*"/>
+ </fileset>
+ </copy>
</target>

<target name="copylib" description="Copy jars to lib dir">

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 22, 2004 3:24 pm 
Newbie

Joined: Sat Feb 21, 2004 1:38 am
Posts: 8
Well thank you!!

And, I was using the pre-compiled binaries. Now I am trying to understand its use. =O)

Thanks, see ya.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.