[JIRA] Created: (APF-1163) Appfuse - Netbeans: missing org.appfuse.webapp jar

2 messages Options
Embed this post
Permalink
AppFuse - Issues mailing list

[JIRA] Created: (APF-1163) Appfuse - Netbeans: missing org.appfuse.webapp jar

Reply Threaded More More options
Print post
Permalink
Appfuse - Netbeans: missing org.appfuse.webapp jar
--------------------------------------------------

                 Key: APF-1163
                 URL: http://issues.appfuse.org/browse/APF-1163
             Project: AppFuse
          Issue Type: Improvement
          Components: Documentation
    Affects Versions: 2.0.2
         Environment: AppFuse + Netbeans 6.7.1
            Reporter: Dominik Enkelmann
            Assignee: Matt Raible


When opening an AppFuse generated project in Netbeans, the latter complains about two missing imports:
- import org.appfuse.webapp.action.BasePage;
- import org.appfuse.webapp.action.BasePageTestCase;

There was already an issue filed on this (http://www.nabble.com/Netbeans-appfuse,-missing-org.appfuse.webapp-jar-td22362141s2369.html) which did not get resolved (the proposed workaround does not work).

To reproduce the problem:
- creata a basic AppFuse application (I used the JSF archetype)
- Open the application in Netbeans
- build it

I'm new to AppFuse AND Netbeans, so maybe the solution might be straight forward (e.g. add library xy to project), but there should be a piece of documentation that clearly states for dummies what to do.

Regards,
Dominik

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.appfuse.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

AppFuse - Issues mailing list

[JIRA] Commented: (APF-1163) Appfuse - Netbeans: missing org.appfuse.webapp jar

Reply Threaded More More options
Print post
Permalink

    [ http://issues.appfuse.org/browse/APF-1163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12692 ]

Matt Raible commented on APF-1163:
----------------------------------

This is caused by IDEs that don't recognize the warpath plugin and therefore don't add WARs as JARs to the classpath. This works in IDEA and Eclipse, but apparently not in NetBeans. The easiest workaround is to run "mvn appfuse:full-source" on your project to pull all the source files in and get ride of WAR dependencies.

> Appfuse - Netbeans: missing org.appfuse.webapp jar
> --------------------------------------------------
>
>                 Key: APF-1163
>                 URL: http://issues.appfuse.org/browse/APF-1163
>             Project: AppFuse
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 2.0.2
>         Environment: AppFuse + Netbeans 6.7.1
>            Reporter: Dominik Enkelmann
>            Assignee: Matt Raible
>
> When opening an AppFuse generated project in Netbeans, the latter complains about two missing imports:
> - import org.appfuse.webapp.action.BasePage;
> - import org.appfuse.webapp.action.BasePageTestCase;
> There was already an issue filed on this (http://www.nabble.com/Netbeans-appfuse,-missing-org.appfuse.webapp-jar-td22362141s2369.html) which did not get resolved (the proposed workaround does not work).
> To reproduce the problem:
> - creata a basic AppFuse application (I used the JSF archetype)
> - Open the application in Netbeans
> - build it
> I'm new to AppFuse AND Netbeans, so maybe the solution might be straight forward (e.g. add library xy to project), but there should be a piece of documentation that clearly states for dummies what to do.
> Regards,
> Dominik

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.appfuse.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]