I created a new branch in the repository so that you can try it out:

forge install-plugin jboss-as-7 --version refactor

Let me know what you find, and again, sorry for the really late reply!

Remember you can use forge --debug and attach a debugger if you need to!


On Sun, Apr 28, 2013 at 10:19 AM, Lincoln Baxter, III <lincolnbaxter@gmail.com> wrote:
Hey James,

I've had a chance to try this out, and it seems like your plugin changes introduce a scenario where `new-project` fails:

 
[no project] Desktop $ new-project --named example
 ? Use [/Users/lb3/Desktop/example] as project directory? [Y/n] 
Wrote /Users/lb3/Desktop/example
Wrote /Users/lb3/Desktop/example/pom.xml
Wrote /Users/lb3/Desktop/example/src/main/java
Wrote /Users/lb3/Desktop/example/src/test/java
Wrote /Users/lb3/Desktop/example/src/main/resources
Wrote /Users/lb3/Desktop/example/src/test/resources
***ERROR*** Exception encountered: WELD-001303 No active contexts for scope type org.jboss.forge.shell.project.ProjectScoped (type "set VERBOSE true" to enable stack traces)
[no project] Desktop $ cd example/
[generated-pom] example $ ls
[generated-pom] example $ project
 name: generated-pom
 groupId:  org.jboss.forge.generated
 final artifact:  generated-pom-1.0.0-SNAPSHOT.jar
 packaging:  jar
 dir:  /Users/lb3/Desktop/example
[generated-pom] example $ 



On Tue, Apr 23, 2013 at 5:44 PM, James R. Perkins <jperkins@redhat.com> wrote:
Just bumping this to see if anyone had a chance to review it.


On 04/04/2013 07:23 PM, Lincoln Baxter, III wrote:
Hey James! I'll take a look when I'm back from this trip, but I'm sure it's great :)


On Thu, Apr 4, 2013 at 8:52 PM, James R. Perkins <jperkins@redhat.com> wrote:
Hello All,
I've spent some time the past 2 weeks attempting to clean up the AS7 plugin. The goal was to clear up the confusing prompts and fix bugs with the initial approach.

I also added a couple new commands:
- override: This command allows you to override the hostname and port for managing servers listening on different hostnames or ports.
- print-console: This option prints the console output captured if the server was started with the as7 start command.

I will follow up with a PR documenting the plugin better.

If anyone feels like reviewing and/or testing the plugin to make sure it makes sense I would greatly appreciate it. The PR is located here https://github.com/forge/plugin-jboss-as/pull/8.
-- 
James R. Perkins
JBoss by Red Hat

_______________________________________________
forge-dev mailing list
forge-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev



--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."


_______________________________________________
forge-dev mailing list
forge-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev

-- 
James R. Perkins
JBoss by Red Hat

_______________________________________________
forge-dev mailing list
forge-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev



--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."



--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."