[ http://issues.apache.org/jira/browse/BEEHIVE-413?page=history ]
Eddie O'Neil updated BEEHIVE-413:
---------------------------------
Attachment: sfReproWeb.zip
To repro, use a Beehive SVN environment and be sure to adjust the
"beehive.home" Ant variable in sfReproWeb/build.xml to point to your
beehive/trunk directory.
1) unzip the .zip file
2) cd sfReproWeb
3) ant clean build
The result is the build failure pasted previously into the bug. Actually, it's
not a failure as the BUILD SUCCESSFUL message appears, but it seems like the
"package * does not exist" should fail the build as well.
> build failure resolving shared flow from jpf with a control
> -----------------------------------------------------------
>
> Key: BEEHIVE-413
> URL: http://issues.apache.org/jira/browse/BEEHIVE-413
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: V1Beta
> Reporter: Eddie O'Neil
> Assignee: Rich Feit
> Attachments: sfReproWeb.zip
>
> There seems to be a problem compiling a JPF with a public control bean field
> that references a shared flow. The build output is below.
> The control is declared as:
> @Control
> public pkg.HelloBean myHello;
> and if you switch the "public" to "private" the build works fine.
> Repro will be attached shortly.
>
> [apt] warning: Annotation types without processors:
> [org.apache.beehive.netui.pageflow.annotat
> ions.Jpf.Catch]
> [apt] 1 warning
> [apt]
> D:\dev\apache\beehive\trunk\netui\tmp\sfReproWeb\web\WEB-INF\.tmpbeansrc\Controller.java
> :22: package shared does not exist
> [apt] private shared.SharedFlow sharedFlow;
> [apt] ^
> [apt]
> D:\dev\apache\beehive\trunk\netui\tmp\sfReproWeb\web\WEB-INF\.tmpbeansrc\Controller.java
> :15: package shared does not exist
> [apt] @Jpf.SharedFlowRef(name="shared",
> type=shared.SharedFlow.class)
> [apt] ^
> [apt] Note:
> D:\dev\apache\beehive\trunk\netui\tmp\sfReproWeb\web\WEB-INF\.tmpbeansrc\pkg\Hello
> Bean.java uses unchecked or unsafe operations.
> [apt] Note: Recompile with -Xlint:unchecked for details.
> [echo] Copy all .properties files
> [echo] Copy all .xml files
> [copy] Copying 1 file to
> D:\dev\apache\beehive\trunk\netui\tmp\sfReproWeb\web\WEB-INF\classes
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira