Hi all,
I have found that it it is quite hard to remove an existing entity so I would like to work on a feature to cleanly remove entities. Something like yo jhipster:entity Foo clean. Do you think that would be useful ?
--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.
To post to this group, send email to jhipst...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jhipster-dev/5a4a0c6c-5455-4bdb-acbd-03960aeefde0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yes a seperate yo generator that just reads the files and does stuff
If we modularize our main gen and sub gen so that all reusable code and utils are in a seperate npm module then any yo generator can inject them and use those to do stuff
To view this discussion on the web visit https://groups.google.com/d/msgid/jhipster-dev/CADNXADFQTbkHGcHDktvn7gyG8YFYj4%2BMQP_n7dU3VufNW8VCaA%40mail.gmail.com.
I've already had this question and my answer was to use Git instead :-)Then again: I'm very conservative for our "main" generator as afterwards we need to maintain all that code, and that's making me think more and more about the "plugin" system. That would definitively be the right solution.
On Fri, Nov 13, 2015 at 11:04 AM, Christophe Bornet <bornet...@gmail.com> wrote:
Hi all,
I have found that it it is quite hard to remove an existing entity so I would like to work on a feature to cleanly remove entities. Something like yo jhipster:entity Foo clean. Do you think that would be useful ?
--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev+unsubscribe@googlegroups.com.
To post to this group, send email to jhipst...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jhipster-dev/5a4a0c6c-5455-4bdb-acbd-03960aeefde0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Actually, git is not enough : it's OK for files that are modified such as liquibase's master.xml but it doesn't allow to remove previously created files (like FooResource.java).
You could generate a twin project and make a diff from it but it's a bit overkill and I think not really convenient.
On Friday, November 13, 2015 at 2:29:45 PM UTC+1, Christophe Bornet wrote:
Oh yes ! I always use git when upgrading/adding entities. It didn't occur to me that I could use it to remove entities... :-) Thanks a lot !
On Friday, November 13, 2015 at 11:44:19 AM UTC+1, Julien Dubois wrote:
I've already had this question and my answer was to use Git instead :-)Then again: I'm very conservative for our "main" generator as afterwards we need to maintain all that code, and that's making me think more and more about the "plugin" system. That would definitively be the right solution.
On Fri, Nov 13, 2015 at 11:04 AM, Christophe Bornet <bornet...@gmail.com> wrote:
Hi all,
I have found that it it is quite hard to remove an existing entity so I would like to work on a feature to cleanly remove entities. Something like yo jhipster:entity Foo clean. Do you think that would be useful ?
--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.
To post to this group, send email to jhipst...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jhipster-dev/5a4a0c6c-5455-4bdb-acbd-03960aeefde0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.
To post to this group, send email to jhipst...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jhipster-dev/a42b2763-d615-4b50-b948-e0ca3ee929b2%40googlegroups.com.
ZsomborYou can run "git clean -df" to get rid of the untracked files anytime.Regards,
On Mon, Nov 23, 2015 at 9:55 AM, Christophe Bornet <bornet...@gmail.com> wrote:
Actually, git is not enough : it's OK for files that are modified such as liquibase's master.xml but it doesn't allow to remove previously created files (like FooResource.java).
You could generate a twin project and make a diff from it but it's a bit overkill and I think not really convenient.
On Friday, November 13, 2015 at 2:29:45 PM UTC+1, Christophe Bornet wrote:
Oh yes ! I always use git when upgrading/adding entities. It didn't occur to me that I could use it to remove entities... :-) Thanks a lot !
On Friday, November 13, 2015 at 11:44:19 AM UTC+1, Julien Dubois wrote:
I've already had this question and my answer was to use Git instead :-)Then again: I'm very conservative for our "main" generator as afterwards we need to maintain all that code, and that's making me think more and more about the "plugin" system. That would definitively be the right solution.
On Fri, Nov 13, 2015 at 11:04 AM, Christophe Bornet <bornet...@gmail.com> wrote:
Hi all,
I have found that it it is quite hard to remove an existing entity so I would like to work on a feature to cleanly remove entities. Something like yo jhipster:entity Foo clean. Do you think that would be useful ?
--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev+unsubscribe@googlegroups.com.
To post to this group, send email to jhipst...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jhipster-dev/5a4a0c6c-5455-4bdb-acbd-03960aeefde0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev+unsubscribe@googlegroups.com.
To post to this group, send email to jhipst...@googlegroups.com.