Matt,

I'm using appfuse-springmvc-1.9.4-src.zip.

I think ibatis/build.xml is fine, it replaces properties.xml as
expected. The problem seem to be in appgen; middlegen/build.xml failed
after Hibernate is uninstalled.

On 12/29/06, Matt Raible <[EMAIL PROTECTED]> wrote:
What version of AppFuse are you using?  The easy way to solve this is
to search through properties.xml and look for hibernate.classpath.
Remove it if it's in there.  Hopefully ibatis.classpath is in there as
well.  You can always look through ibatis/build.xml to see what it
does and manually make sure the changes have been make.  It's really
not too difficult if you can figure out where the <replacetoken> and
<replacevalue> elements start and stop.

Matt

On 12/28/06, Jong Hian Zin <[EMAIL PROTECTED]> wrote:
> "ant install-detailed" failed after I replaced Hibernate with iBatis
> "ant install uninstall-hibernate"
>
> C:\myapp\extras\appgen>ant install-detailed
> Buildfile: build.xml
> Overriding previous definition of reference to xdoclet.classpath
>
> clean:
>
> init:
>     [mkdir] Created dir: C:\myapp\extras\appgen\build
>      [echo]
>      [echo] +-------------------------------------------------------+
>      [echo] |             -- Welcome to the AppGen! --              |
>      [echo] |                                                       |
>      [echo] | Use the "install" target to use the generic DAO and   |
>      [echo] | Manager, or use "install-detailed" to general a DAO   |
>      [echo] | and Manager specifically for your model object.       |
>      [echo] +-------------------------------------------------------+
>
>     [input] Would you like to generate code from a table or POJO? (table,pojo)
> table
>     [input] What is the name of your table (i.e. person)?
> employee
>     [input] What is the name, if any, of the module for your table (i.e. 
organiz
> ation)?
>
>      [echo] Running Middlegen to generate POJO...
>
> init:
>
> BUILD FAILED
> C:\myapp\extras\appgen\build.xml:81: The following error occurred while 
executin
> g this line:
> C:\myapp\extras\middlegen\build.xml:41: Reference hibernate.classpath not 
found.
>
>
> Total time: 9 seconds
>
> Did I miss anything?
>
> --
> Jong Hian Zin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Jong Hian Zin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to