[JBoss JIRA] Created: (JBIDE-822) JBoss adapter classpath's are not visible for tests (and everything else)
by Max Andersen (JIRA)
JBoss adapter classpath's are not visible for tests (and everything else)
-------------------------------------------------------------------------
Key: JBIDE-822
URL: http://jira.jboss.com/jira/browse/JBIDE-822
Project: JBoss Tools
Issue Type: Bug
Components: JBoss Tools Core
Affects Versions: 2.0.0.Beta3
Reporter: Max Andersen
Assigned To: Marshall Culpepper
Priority: Blocker
Fix For: 2.0.0.Beta4
Create a junit test that contains this (in a dynamic web project or seam project):
import javax.faces.application.FacesMessage;
import junit.framework.TestCase;
public class Test extends TestCase {
public void testShouldNotFail() throws Exception {
javax.faces.event.PhaseListener.class.toString();
}
}
This compiles fine, but will fail with classnotfoundexception on our adapter since the contribute classpath seem to not be considered as part of what should be available for anything launched (e.g. junittests)
This is critical for Seam projects to execute tests.
Places it is visible we are "special"
If you try and edit the junit test launch configuration you will see that all classlibraries except ours is added.
If you go to "Targetted runtimes" on a project and click on us the "Runtime composition" shows something very specific to us as if we do it on the default adapter "JBoss 4.2 the JDK" is shown..that makes much more sense.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years
[JBoss JIRA] Assigned: (JBIDE-779) JSF 1.2 with Facelets KickStart error
by Denis Golovin (JIRA)
[ http://jira.jboss.com/jira/browse/JBIDE-779?page=all ]
Denis Golovin reassigned JBIDE-779:
-----------------------------------
Assignee: Alexey Kazakov
> JSF 1.2 with Facelets KickStart error
> -------------------------------------
>
> Key: JBIDE-779
> URL: http://jira.jboss.com/jira/browse/JBIDE-779
> Project: JBoss Tools
> Issue Type: Bug
> Affects Versions: 2.0.0.Beta3
> Environment: WindowsXP SP2
> rhds-win32-1.0.0.ALPHA.jar
> Red Hat Developer Studio
> Version: 1.0.0
> Build id: 1.0.0
> Reporter: Aliaksey Nis
> Assigned To: Alexey Kazakov
> Fix For: 2.0.0.GA
>
> Attachments: WarningsScreen.JPG
>
>
> 1. Web projects View -> New JSF Project
> 2. Enter as JSF Environment JSF 1.2 with Facelets, as template - FaceletsKickStart, Press Finish
> 3. Open inputname.jsp
> 5 warnings appear at lines:
> 17(jsfc="h:form"), 19(jsfc="h:inputText"), 19(required="true"), 20(jsfc="h:commandButton"), 21(action="greeting").
> So KickStart project can't be runned at server.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years
[JBoss JIRA] Created: (RHDS-168) Installation - JRE selection & eclipse.ini and studio startup
by Aliaksey Nis (JIRA)
Installation - JRE selection & eclipse.ini and studio startup
-------------------------------------------------------------
Key: RHDS-168
URL: http://jira.jboss.com/jira/browse/RHDS-168
Project: Red Hat Developer Studio
Issue Type: Bug
Environment: WindowsXP SP2
rhds-win32-1.0.0.beta1.jar
Red Hat Developer Studio
Version: 1.0.0 BETA1
Build: 200708290300-nightly
JDK 1.5_08
Reporter: Aliaksey Nis
Priority: Critical
In this build during installation provided selection of JRE (in installation step 4). Selected path stored in eclipse.ini.
Problem is - Eclipse (RHDS) don't use this stored path. U can write in eclipse.ini anything, but Eclipse still be loading JRE from registry path:
[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment]
"CurrentVersion"="1.5" <---------------------- Loading JRE from here.
So, if in registry JRE version = 1.6, and in eclipse.ini = JRE 1.5, JRE 1.6 will be loaded.
So this new JRE selection in installer is useless.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years