[JBoss JIRA] Created: (JBIDE-2441) Fix JSFImport test errors that hangs hudson build
by Denis Golovin (JIRA)
Fix JSFImport test errors that hangs hudson build
-------------------------------------------------
Key: JBIDE-2441
URL: http://jira.jboss.com/jira/browse/JBIDE-2441
Project: Tools (JBoss Tools)
Issue Type: Bug
Affects Versions: 3.0.0.alpha
Reporter: Denis Golovin
Assigned To: Viacheslav Kabanovich
Fix For: 3.0.0.alpha
[java] !ENTRY org.eclipse.wst.validation 4 0 2008-06-25 01:20:24.024
[java] !MESSAGE Resource '/JSFKickStartOldFormat/WebContent/WEB-INF/aa.xml' does not exist.
[java] !STACK 1
[java] org.eclipse.core.internal.resources.ResourceException: Resource '/JSFKickStartOldFormat/WebContent/WEB-INF/aa.xml' does not exist.
[java] at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:317)
[java] at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:194)
[java] at org.eclipse.core.internal.resources.Resource.checkAccessibleAndLocal(Resource.java:200)
[java] at org.eclipse.core.internal.resources.Resource.setSessionProperty(Resource.java:1632)
[java] at org.eclipse.wst.validation.internal.ValManager.putValProperty(ValManager.java:774)
[java] at org.eclipse.wst.validation.internal.ValManager.accept(ValManager.java:671)
[java] at org.eclipse.wst.validation.internal.ValManager.validate(ValManager.java:527)
[java] at org.eclipse.wst.validation.internal.ValBuilderJob.visit(ValBuilderJob.java:202)
[java] at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:106)
[java] at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:58)
[java] at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:81)
[java] at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85)
[java] at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85)
[java] at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85)
[java] at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:126)
[java] at org.eclipse.core.internal.resources.Resource.accept(Resource.java:68)
[java] at org.eclipse.core.internal.resources.Resource.accept(Resource.java:104)
[java] at org.eclipse.core.internal.resources.Resource.accept(Resource.java:88)
[java] at org.eclipse.wst.validation.internal.ValBuilderJob.fullBuild(ValBuilderJob.java:161)
[java] at org.eclipse.wst.validation.internal.ValBuilderJob.run(ValBuilderJob.java:134)
[java] at org.eclipse.wst.validation.internal.ValBuilderJob.runInWorkspace(ValBuilderJob.java:123)
[java] at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
[java] at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
[java] !SUBENTRY 1 org.eclipse.core.resources 4 368 2008-06-25 01:20:24.028
[java] !MESSAGE Resource '/JSFKickStartOldFormat/WebContent/WEB-INF/aa.xml' does not exist.
[java] !ENTRY org.jboss.tools.common.model 4 0 2008-06-25 01:20:28.231
[java] !MESSAGE Path '/qa/services/hudson/hudson_workspace/workspace/devstudio-nightly/jbds-build/200806250015-nightly/tests/eclipse/plugins/org.jboss.tools.jsf.test_2.0.0/projects/ws/JSFKickStartOldFormat/WebContent/WEB-INF/classes' must denote location inside project 'JSFKickStartOldFormat'
[java] !STACK 1
[java] Java Model Exception: Java Model Status [Path '/qa/services/hudson/hudson_workspace/workspace/devstudio-nightly/jbds-build/200806250015-nightly/tests/eclipse/plugins/org.jboss.tools.jsf.test_2.0.0/projects/ws/JSFKickStartOldFormat/WebContent/WEB-INF/classes' must denote location inside project 'JSFKickStartOldFormat']
[java] at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:765)
[java] at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:2815)
[java] at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:2831)
[java] at org.eclipse.jdt.internal.core.JavaProject.setOutputLocation(JavaProject.java:2763)
[java] at org.jboss.tools.common.model.project.ClassPathUpdate.createOutputFolder(ClassPathUpdate.java:160)
[java] at org.jboss.tools.common.model.project.ClassPathUpdate.execute(ClassPathUpdate.java:66)
[java] at org.jboss.tools.common.model.project.ClassPathUpdateWizard.execute(ClassPathUpdateWizard.java:37)
[java] at org.jboss.tools.jst.web.ui.operation.WebNatureOperation.updateJavaNature(WebNatureOperation.java:370)
[java] at org.jboss.tools.jst.web.ui.operation.WebNatureOperation.run(WebNatureOperation.java:241)
[java] at org.jboss.tools.jsf.test.JSFImportTest.testImportWithoutLinks(JSFImportTest.java:44)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at junit.framework.TestCase.runTest(TestCase.java:164)
[java] at junit.framework.TestCase.runBare(TestCase.java:130)
[java] at junit.framework.TestResult$1.protect(TestResult.java:106)
[java] at junit.framework.TestResult.runProtected(TestResult.java:124)
[java] at junit.framework.TestResult.run(TestResult.java:109)
[java] at junit.framework.TestCase.run(TestCase.java:120)
[java] at junit.framework.TestSuite.runTest(TestSuite.java:230)
[java] at junit.framework.TestSuite.run(TestSuite.java:225)
[java] at junit.framework.TestSuite.runTest(TestSuite.java:230)
[java] at junit.framework.TestSuite.run(TestSuite.java:225)
[java] at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354)
[java] at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206)
[java] at org.eclipse.test.UITestApplication$3.run(UITestApplication.java:195)
[java] at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
[java] at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
[java] at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3375)
[java] at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
[java] at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
[java] at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
[java] at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
[java] at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
[java] at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
[java] at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
[java] at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
[java] at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:112)
[java] at org.eclipse.test.UITestApplication.runApplication(UITestApplication.java:138)
[java] at org.eclipse.test.UITestApplication.run(UITestApplication.java:60)
[java] at org.eclipse.test.UITestApplication.start(UITestApplication.java:210)
[java] at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
[java] at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
[java] at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
[java] at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
[java] at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
[java] at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
[java] at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
[java] at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
[java] at org.eclipse.core.launcher.Main.main(Main.java:30)
[java] !SUBENTRY 1 org.eclipse.jdt.core 4 971 2008-06-25 01:20:28.234
[java] !MESSAGE Path '/qa/services/hudson/hudson_workspace/workspace/devstudio-nightly/jbds-build/200806250015-nightly/tests/eclipse/plugins/org.jboss.tools.jsf.test_2.0.0/projects/ws/JSFKickStartOldFormat/WebContent/WEB-INF/classes' must denote location inside project 'JSFKickStartOldFormat'
--
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, 6 months
[JBoss JIRA] Created: (JBDS-420) RHDS GSG
by Shaun Appleton (JIRA)
RHDS GSG
--------
Key: JBDS-420
URL: https://jira.jboss.org/jira/browse/JBDS-420
Project: Developer Studio
Issue Type: Task
Components: Doc - RHDS GSG
Affects Versions: 1.1.0.GA
Environment: n/a
Reporter: Shaun Appleton
Assignee: Max Rydahl Andersen
I have run through the RHDS GSG and have the following comments -
sect 1.2.1 the note does not match up with the script.
The script states -
export PATH=$PATH:$JAVA_HOME/bin
The note states -
When you add $JAVA_HOME/bin to $PATH, you should add it before the old $PATH not after it. This way, the machine will pick up the new JVM first. You only need to run "alternative" as a safe guard for the right JVM.
It might be better if script stated -
export PATH=$JAVA_HOME/bin:$PATH
and note
Note:
$JAVA_HOME/bin is added after the $PATH to ensure the machine will pick up the new JVM first. You only need to run "alternative" as a safe guard for the right JVM.
If you follow the sections of the guide through sequentially
The sect 3.5 doesn't work as the method public String hello() is never called
if getValue() is changed to
public String getValue()
{
if (convertToCap) {
value = value.toUpperCase ();
}
return value;
}
Then it works.
Also it is not possible to produce the result shown in Fig 3.17 as the value input must have a surname and lastname as enforced by the validator introduced in sect 3.4.
Sect 3.5 I tried following this section as it is written but I could not secure the pages. Either the are some steps missing or this section assumes the readers know much about the seam secruity framework (which I don't yet!).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 6 months