I'm running the ANT build via Eclipse for MG3 for the first time. I've
never had any issues with the ANT script from MG2, but this one is
working badly for me.

First off - the build.properties says that newApplicationDirectory is:

# Set the "newApplicationDirectory" path to the directory where
# you'd like your new ModelGlue application to go.

Ok, to me this read: Where do you want the files? Of course the next line says:

# This is normally your webroot.

Which should have tipped me off. In the MG2 ANT script, if I remember
right, the value was the path where you wanted the files. In MG3, it's
the _parent_ path. No big deal I guess, but it definitely tripped me
up. I think we should perhaps make it a bit clearer as the 2 sentences
seem contradictory. (Or is it just me?)

Also, if you already created a folder and try to run the script, it
will fail since the directory exists. I'm not sure if ANT supports it,
but doesn't it make sense to simply use the folder anyway?

Secondly: I can't get it to work. :) When it tried to copy the files
for the skeleton app, it copied from:

 /Users/ray/Documents/Web
Sites/ModelGlue3/trunk/modelglueapplicationtemplate/modelglueapplicationtemplate
not found.

Notice the duplication. Anyone know why?

I changed templateDIrectory to ./ and it worked ok.

-- 
===========================================================================
Raymond Camden, ColdFusion Jedi Master

Email    : [email protected]
Blog      : www.coldfusionjedi.com
AOL IM : cfjedimaster

Keep up to date with the community: http://www.coldfusionbloggers.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

For more about Model-Glue, check http://www.model-glue.com .
-~----------~----~----~----~------~----~------~--~---

Reply via email to