spring-projects / spring-loaded

Java agent that enables class reloading in a running JVM
Apache License 2.0
2.72k stars 515 forks source link

Using SpringLoaded on Netbeans IDE #150

Open ESWBitto opened 9 years ago

ESWBitto commented 9 years ago

Hello,

I'm currently developing Alfresco sdk with netbeans, but I'm having issues where I am not able to use springloaded. It works well on eclipse, but I prefer to use netbeans if possible. Is there any documentation out there that gives step by step instructions on how to set it up correctly?

ravshansbox commented 9 years ago

I'm currently using maven, spring-loaded and netbeans together very well. Just add spring-loaded as a provided dependency (or tomcat plugin dependency) for maven to fetch it and add https://gist.github.com/ravshansbox/a5804d4cb1dab9361538 to project root folder(sibling to pom.xml).

ESWBitto commented 9 years ago

Ravshan,

What method would I use to provide the dependency? Would I just create the xml file or should I actually add a dependency? Are there any instructions on how to do this?

Josh

From: Ravshan Samandarov [mailto:notifications@github.com] Sent: Friday, October 02, 2015 5:16 AM To: spring-projects/spring-loaded Cc: Josh Bitto Subject: Re: [spring-loaded] Using SpringLoaded on Netbeans IDE (#150)

I'm currently using maven, spring-loaded and netbeans together very well. Just add spring-loaded as a provided dependency (or tomcat plugin dependency) for maven to fetch it and add https://gist.github.com/ravshansbox/a5804d4cb1dab9361538 to project root folder(sibling to pom.xml).

— Reply to this email directly or view it on GitHubhttps://github.com/spring-projects/spring-loaded/issues/150#issuecomment-145000984.

ravshansbox commented 9 years ago

I've created two project one with spring-boot + spring-loaded(https://github.com/ravshansbox/sbsl) and another with spring-web + spring-loaded(https://github.com/ravshansbox/swsl). Both setup to work with Netbeans IDE. Clone with git, open project with netbeans, right click -> custom -> spring-boot:run (or tomcat7:run).

ESWBitto commented 9 years ago

Ravshan,

Thank you for the links. I will definitely look at them! Quick question though…

I’ve created an alfresco project from eclipse and imported that project into netbeans. If I also import the projects you have created will spring loaded work for my project as well or do I still need to configure something?

Josh

P.S. Your help is greatly appreciated!

From: Ravshan Samandarov [mailto:notifications@github.com] Sent: Friday, October 02, 2015 12:32 PM To: spring-projects/spring-loaded Cc: Josh Bitto Subject: Re: [spring-loaded] Using SpringLoaded on Netbeans IDE (#150)

I've created two project one with spring-boot + spring-loaded(https://github.com/ravshansbox/sbsl) and another with spring-web + spring-loaded(https://github.com/ravshansbox/swsl). Both setup to work with Netbeans IDE. Clone with git, open project with netbeans, right click -> custom -> spring-boot:run (or tomcat7:run).

— Reply to this email directly or view it on GitHubhttps://github.com/spring-projects/spring-loaded/issues/150#issuecomment-145132648.

ravshansbox commented 9 years ago

Projects don't need for configuration in netbeans.