[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-6841) The method getProcess() is undefined for the type JBossServerBehavior in org/jboss/tools/ws/creation/core/test/command/AbstractJBossWSCommandTest.java
Rob Stryker (JIRA)
jira-events at lists.jboss.org
Tue Aug 17 03:58:11 EDT 2010
[ https://jira.jboss.org/browse/JBIDE-6841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12545310#action_12545310 ]
Rob Stryker commented on JBIDE-6841:
------------------------------------
Sorry for the delay Fitz.
I have not committed this change, but I'm pasting it here for you to use.
The method in AbstractJBossWSCommandTest should now read:
protected IStreamMonitor getStreamMonitor() {
JBossServerBehavior behavior = (JBossServerBehavior) currentServer
.loadAdapter(JBossServerBehavior.class, null);
if (behavior != null) {
JBossBehaviourDelegate del = behavior.getDelegate();
if( del instanceof LocalJBossBehaviorDelegate ) {
IProcess p = ((LocalJBossBehaviorDelegate)del).getProcess();
if (p != null) {
return p.getStreamsProxy()
.getOutputStreamMonitor();
}
}
}
return null;
}
> The method getProcess() is undefined for the type JBossServerBehavior in org/jboss/tools/ws/creation/core/test/command/AbstractJBossWSCommandTest.java
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-6841
> URL: https://jira.jboss.org/browse/JBIDE-6841
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Webservices
> Affects Versions: 3.2.0.M2
> Reporter: Nick Boldt
> Assignee: Rob Stryker
> Priority: Blocker
> Fix For: 3.2.0.M2
>
>
> [ERROR] Failed to execute goal org.sonatype.tycho:maven-osgi-compiler-plugin:0.9.0:compile (default-compile) on project org.jboss.tools.ws.creation.core.test: Compilation failure: Compilation failure:
> /mnt/hudson_workspace/workspace/jbosstools-3.2.0.M2.continuous/sources/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/AbstractJBossWSCommandTest.java (at line 415):[-1,-1]
> if (behavior.getProcess() != null) {
> ^^^^^^^^^^
> The method getProcess() is undefined for the type JBossServerBehavior
> /mnt/hudson_workspace/workspace/jbosstools-3.2.0.M2.continuous/sources/ws/tests/org.jboss.tools.ws.creation.core.test/src/org/jboss/tools/ws/creation/core/test/command/AbstractJBossWSCommandTest.java (at line 416):[-1,-1]
> return behavior.getProcess().getStreamsProxy()
> ^^^^^^^^^^
> The method getProcess() is undefined for the type JBossServerBehavior
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list