[
https://issues.jboss.org/browse/FORGE-518?page=com.atlassian.jira.plugin....
]
Guillaume Gustin commented on FORGE-518:
----------------------------------------
Hello !
What is really weird about this error is that :
If you install the plugin (via forge source-plugin), and you launch it ... you have the
error.
but,
If you install this same plugin. Then you temporarly attach the forge context to a
project (making a new-project or something).
Then you go out again to the "[no-project]" situation... you run the same plugin
and you don't have the error...
It seems that the first time you attach forge to a project, the shell is kind of modified
somewhere...
projectFactory.createProjet doesn't work out of embeded plugins
---------------------------------------------------------------
Key: FORGE-518
URL:
https://issues.jboss.org/browse/FORGE-518
Project: Forge
Issue Type: Bug
Components: Builtin Plugins, Forge Build
Affects Versions: 1.0.0.Final
Environment: Windows XP Professional Service Pack 3 - 32 bits
Reporter: Guillaume Gustin
Priority: Blocker
Labels: projectFactory.createProject
Attachments: ajf-forge.zip, aTest-compacted.zip, forge-screenshot.png
I want to create a new plugin which allow to create a solution (set of projects) based on
a specific solution model. But when the forge execute the project building code
"projectFactory.createProject(targetProjectDir, DependencyFacet.class,
MetadataFacet.class, JavaSourceFacet.class, ResourceFacet.class)" i receive the
exception "org.jboss.forge.project.ProjectModelException" with the message
"Could not create Maven project building request"
When i fire my new plugin, my forge promps is "[no project] myTempdir $ ", I
have the same exception when I copy the "new-project plugin" as
"new-new-project plugin".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira