[JBoss JIRA] Created: (SEAMFORGE-157) If in the Java Source tree, Entity plugin should default to current directory
by Lincoln Baxter III (JIRA)
If in the Java Source tree, Entity plugin should default to current directory
-----------------------------------------------------------------------------
Key: SEAMFORGE-157
URL: https://issues.jboss.org/browse/SEAMFORGE-157
Project: Seam Forge
Issue Type: Enhancement
Components: Builtin Plugins
Affects Versions: 1.0.0.Alpha3
Reporter: Lincoln Baxter III
Assignee: Jason Porter
[jbw2011] as7 $
[jbw2011] as7 $ entity --named Jason
? In which package you'd like to create this @Entity, or enter for default: [org.jboss.jbw.demos.domain]
Default to the current directory if under JavaSourceFacet.getSourceFolders(...)
-- Concept
{code} @DefaultCommand(help = "Create a JPA @Entity")
public void newEntity(
@Option(required = true,
name = "named",
description = "The @Entity name") final String entityName) throws FileNotFoundException
{
// TODO this should accept a qualified name as a parameter instead of
// prompting for the package later
PersistenceFacet jpa = project.getFacet(PersistenceFacet.class);
JavaSourceFacet java = project.getFacet(JavaSourceFacet.class);
String entityPackage = shell.promptCommon(
"In which package you'd like to create this @Entity, or enter for default:",
PromptType.JAVA_PACKAGE, jpa.getEntityPackage());{code}
If
{code} java.getBasePackageResource(){code}
is a parent of
{code} shell.getCurrentDirectory(){code}
Prompt to use the current directory, otherwise do the current prompt
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 6 months
Thank you for hacking on Forge
by Lincoln Baxter, III
Hi Jeremy,
Thank you for coming over and hacking on Forge tonight!
If you'd like to join the dev list, you can find it here: <
forge-dev(a)lists.jboss.org>
I'm really interested in helping you with a RESTEasy plugin, so just let me
know what you need and I'm there :)
--
Lincoln Baxter, III
http://ocpsoft.com
http://scrumshark.com
"Keep it Simple"
13 years, 6 months
[JBoss JIRA] Created: (SEAMFORGE-154) Master fails on startup: Unsatisfied dependencies
by Paul Bakker (JIRA)
Master fails on startup: Unsatisfied dependencies
-------------------------------------------------
Key: SEAMFORGE-154
URL: https://issues.jboss.org/browse/SEAMFORGE-154
Project: Seam Forge
Issue Type: Bug
Reporter: Paul Bakker
Master is currently broken. After a clean clone mvn exec:java fails:
ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.1.1:java (default-cli) on project forge-distribution: An exception occured while executing the Java class. WELD-001408 Unsatisfied dependencies for type [ProfileBuilder] with qualifiers [@Default] at injection point [[field] @Inject org.jboss.seam.forge.arquillian.container.GlassFish3Embedded.builder] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.1.1:java (default-cli) on project forge-distribution: An exception occured while executing the Java class. WELD-001408 Unsatisfied dependencies for type [ProfileBuilder] with qualifiers [@Default] at injection point [[field] @Inject org.jboss.seam.forge.arquillian.container.GlassFish3Embedded.builder]
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:203)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:451)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:188)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:134)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: An exception occured while executing the Java class. WELD-001408 Unsatisfied dependencies for type [ProfileBuilder] with qualifiers [@Default] at injection point [[field] @Inject org.jboss.seam.forge.arquillian.container.GlassFish3Embedded.builder]
at org.codehaus.mojo.exec.ExecJavaMojo.execute(ExecJavaMojo.java:338)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195)
... 19 more
Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [ProfileBuilder] with qualifiers [@Default] at injection point [[field] @Inject org.jboss.seam.forge.arquillian.container.GlassFish3Embedded.builder]
at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:305)
at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:139)
at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:162)
at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:385)
at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:371)
at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:390)
at org.jboss.weld.environment.se.Weld.initialize(Weld.java:88)
at org.jboss.forge.shell.Bootstrap$2.run(Bootstrap.java:90)
at java.lang.Thread.run(Thread.java:680)
[ERROR]
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 6 months