|
hi all,
I created a grails app, and imported it to my SVN repos, then added "web-app/WEB-INF/classes", "web-app/WEB-INF/lib", "web-app/WEB-INF/grails-app" to svn ignore list. But after i execute command "grails clean" or "grails run-app", the 3 directory will be deleted, then when i commit to svn, it tells me the directories are obstructed. So I change the Package.groovy / Clean.groovy to make it works. e.g. original code: Ant.delete(dir:"${webInf}/classes") Ant.delete(dir:"${webInf}/lib") Ant.mkdir(dir:"${webInf}/classes") Ant.mkdir(dir:"${webInf}/lib") changed to: Ant.delete(includeemptydirs: true) { fileset(dir:"${webInf}/classes", includes:"**/*") } Ant.delete(includeemptydirs: true) { fileset(dir:"${webInf}/lib", includes:"**/*") } anyone has some better suggestions, or the new grails release will modify the script? btw, i use grails-0.4.2 on Windows --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
|
On 3/30/07, Nevill <[hidden email]> wrote: hi all, [snip] Why not just alter the run-app script so that it doesn't copy the .svn directories when it copies things to web-app? -- - kate = masukomi http://weblog.masukomi.org/ |
|
I think the problem is, grails delete the who directory, including the
.svn directory. i'm curious that nobody here use svn for grails project? I doubt that if i use it with svn in a wrong way? Thx On 3/31/07, kate rhodes <[hidden email]> wrote: > > > On 3/30/07, Nevill <[hidden email]> wrote: > > hi all, > > > > I created a grails app, and imported it to my SVN repos, then added > > "web-app/WEB-INF/classes", "web-app/WEB-INF/lib", > > "web-app/WEB-INF/grails-app" to svn ignore list. > > > > But after i execute command "grails clean" or "grails run-app", the 3 > > directory will be deleted, then when i commit to svn, it tells me the > > directories are obstructed. > > [snip] > > > Why not just alter the run-app script so that it doesn't copy the .svn > directories when it copies things to web-app? > > -- > - kate = masukomi > http://weblog.masukomi.org/ -- Best Regards - Nevill --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
|
On 3/31/07, Nevill <[hidden email]> wrote:
> I think the problem is, grails delete the who directory, including the > .svn directory. > > i'm curious that nobody here use svn for grails project? I doubt that > if i use it with svn in a wrong way? I use Subversion with Grails every day. Grails itself is version controled by Subversion. I simply don't check in any of the funky dirs under web-app. I use it from the command line and i use it via Subversive when in Eclipse. If you haven't tried Subversive i HIGHLY recommend it. It is miles ahead of Subclipse. http://www.polarion.org/index.php?page=features&project=subversive -- - kate = masukomi http://weblog.masukomi.org/ --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
|
> I use Subversion with Grails every day. Grails itself is version
> controled by Subversion. Same here. Nevill, have you looked at this page: http://docs.codehaus.org/display/GRAILS/Checking+Projects+into+SVN ? Cheers, Peter --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
|
Thx Peter,
That is what I want. On 4/1/07, Peter Ledbrook <[hidden email]> wrote: > > I use Subversion with Grails every day. Grails itself is version > > controled by Subversion. > > Same here. Nevill, have you looked at this page: > > http://docs.codehaus.org/display/GRAILS/Checking+Projects+into+SVN > > ? > > Cheers, > > Peter > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > -- Best Regards - Nevill --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
| Powered by Nabble | Edit this page |
