Hey Dennis, I finally got a chance to try this out last night, and it worked perfectly -- these modifications make the Ant build script *much* more useful, and I can now very quickly create test applications without having to edit the build or properties files.
Thanks for doing this, much appreciated. -- Ezra Parker On Sun, Mar 14, 2010 at 10:43 PM, Dennis Clark <[email protected]> wrote: > Hey folks, > Recently a MG developer spoke to me about theĀ Ant script in the > modelglueapplicationtemplate folder. This script is used to create a new > Model-Glue application from the template. The developer uses this script > frequently but found the requirement to edit the script before each run to > be frustrating. > After looking at the script I created an enhanced version with the following > changes: > > The script now prompts the user for the new application's name and > directory, with default values provided. > If the default application parent directory is set correctly, the script > will provide the correct default for the application directory. > Anyone who doesn't like the prompts can skip them by setting the application > name or directory in the build.properties file. > The following files are now excluded from being copied into the new > application: .project, readme.txt, build.properties. > > I've attached my modified build.xml and build.properties files as text files > to this message. To use them, remove the .txt extension and replace the > existing files in your modelglueapplicationtemplate folder with them. You > must replace both files as the old build.properties file has a setting that > will break the new script. > If you have used the Ant script distributed with Model-Glue to create new > applications from the template, please try out this new version of the > script and let me know what you think. > Cheers, > -- Dennis > > -- > Model-Glue Sites: > Home Page: http://www.model-glue.com > Documentation: http://docs.model-glue.com > Bug Tracker: http://bugs.model-glue.com > Blog: http://www.model-glue.com/blog > > 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 -- Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog 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 To unsubscribe from this group, send email to model-glue+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
