ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lopez, William" <william.lo...@eds.com>
Subject RE: Ant + Hibernate = Grief + Confusion
Date Thu, 07 Oct 2004 23:40:01 GMT
I played around with it some and got it to compile...I'm not sure if it was
the way the hbm.xml file was referenced or what...it was one of those things
were I kept trying things until it worked. I typically generate most of the
files using XDoclet so I'll have to go back and verify what I did....compile
results.


clean:
   [delete] Deleting directory C:\temp\profexample\gen
   [delete] Deleting directory C:\temp\profexample\class
   [delete] Deleting directory C:\temp\profexample\data

init:
    [mkdir] Created dir: C:\temp\profexample\gen
    [mkdir] Created dir: C:\temp\profexample\class
    [mkdir] Created dir: C:\temp\profexample\data

codegen:
 [hbm2java] Processing 1 files.
 [hbm2java] Building hibernate objects
 [hbm2java] log4j:WARN No appenders could be found for logger
(net.sf.hibernate.util.DTDEntityResolver).
 [hbm2java] log4j:WARN Please initialize the log4j system properly.
     [copy] Copying 1 file to C:\temp\profexample\class\edu

compile:
    [javac] Compiling 1 source file to C:\temp\profexample\class
    [javac] Compiling 1 source file to C:\temp\profexample\class

schema:
[schemaexport] log4j:WARN No appenders could be found for logger
(net.sf.hibernate.cfg.Environment).
[schemaexport] log4j:WARN Please initialize the log4j system properly.

all:

BUILD SUCCESSFUL
Total time: 4 seconds

--- I changed your build file around some, I'll zip you the project in
another email "off line" ----

HTH,
-Will

PS I have to run, until tomorrow

-----Original Message-----
From: Greg Wilson [mailto:gvwilson@cs.toronto.edu] 
Sent: Thursday, October 07, 2004 3:59 PM
To: Laconia Data Systems
Cc: Ant Users List
Subject: Re: Ant + Hibernate = Grief + Confusion

Hi Martin.  THe blog posting I cited desscribes the symptoms; it also
includes a link to the four files that make up the project.  I've now
reproduced the problem on Solaris, too ;-)

Thanks,
Greg

> Hello Gregory
> Perhap you could be more specific about example which causes these race
> conditions ?
> Martin-

> ----- Original Message -----
>
> > Hi everyone.  So, can there be race conditions in apparently-sequential
> > Ant build.xml files?  The Hibernate folks say this isn't their fault...
> >
> > http://pyre.third-bit.com/blog/archives/000110.html
> >
> > Thanks,
> > Greg

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message