[JBoss JIRA] Created: (JBDS-876) Reverse engineering entities in a Sema project ties you to one database
by Shaun Appleton (JIRA)
Reverse engineering entities in a Sema project ties you to one database
-----------------------------------------------------------------------
Key: JBDS-876
URL: https://jira.jboss.org/jira/browse/JBDS-876
Project: JBoss Developer Studio
Issue Type: Bug
Affects Versions: 2.1.0
Environment: JBDS linux and Windows
Reporter: Shaun Appleton
When I reverse engineer entities from a database you cannot change the database and reverse engineer different entities.
It would appear reverse engineering entities ties you to one database
To replicate:
Create a Seam project and generate entities as described in http://docs.jboss.org/tools/2.1.0.GA/en/GettingStartedGuide/html_single/i... section 3.5.1
Then select the project and change the database to a different running database by changing the database connection profile in the seam settings. Verify the latest database can be pinged.
Select the project and select File new generate entities and follow the dialogs through until you get to the Generate Entities Dialog. A <couldn't connect to database> error is shown in the database schema window.
i.e. the new database connection is not picked up.
It appears that when the database is changed in the Seam Settings connection profile the hibernate-console.properties are not kept in synch. So when an attempt to reverse engineer the database is tried the old connection settings are used even though they have recently been changed.
If this is a technical limitation then there should be some warning in the docs that changing the database after generating the entities won't work. Plus have the connections profile bit greyed-out so it can't be altered.
But ideally the hibernate-console.properties file should be synchronised with the Seam Settings connection profile.
I tried deleting the hibernate-console.properties to try and force it to create a new hibernate-console.properties file with the correct settings but file but that didn't work either.
--
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
16 years, 2 months
[JBoss JIRA] Created: (JBIDE-5224) Some Plugins and Features has wrong or missing License or Copyright text.
by Vlado Pakan (JIRA)
Some Plugins and Features has wrong or missing License or Copyright text.
-------------------------------------------------------------------------
Key: JBIDE-5224
URL: https://jira.jboss.org/jira/browse/JBIDE-5224
Project: Tools (JBoss Tools)
Issue Type: Bug
Affects Versions: 3.1.0.M4
Reporter: Vlado Pakan
Some of the plugins and features has wrong or missing License and Copyright text.
Details:
Features ( Choose Menu Help > About > Installation Details > Features Tab. > License Button):
JBoss Archive Tools - org.jboss.ide.eclipse.archives.feature
JBoss AS Tools - org.jboss.ide.eclipse.as.feature
Hibernate Tools - org.hibernate.eclispe.feature
JBoss Tools Rich Faces - org.jboss.tools.richfaces.feature
Installed software (Choose Menu Help > About > Installation Details > Installed Software Tab. > Properties Button):
wrong or missing copyright and license text:
Common tools for jBPM 3 and jBPM - org.jboss.tools.jbpm.common.feature.feature.group
Common tools for jBPM 3 and jBPM 4 Sources - org.jboss.tools.jbpm.common.source.feature.feature.group
Flow Language Common Tools Sources - org.jboss.tools.flow.common.source.feature.feature.group
JBoss BPEL Editor Sources - org.jboss.tools.bpel.source.feature.feature.group
JBoss Maven Integration Source - org.jboss.tools.maven.source.feature.feature.group
JBoss Maven Seam Integration Source - org.jboss.tools.maven.seam.source.feature.feature.group
JBoss WebServices Tools - org.jboss.tools.ws.feature.feature.group
jBPM 4 Graphical Editor and Tools Sources - org.jboss.tools.flow.jpdl4.source.feature.feature.group
jBPM Convert - org.jboss.tools.jbpm.convert.feature.feature.group
Project Examples - org.jboss.tools.project.examples.feature.feature.group
Smooks Tools - org.jboss.tools.smooks.feature.feature.group
wrong or missing license text
Flow Languages Common Tools - org.jboss.tools.flow.common.feature.feature.group
JBoss BPEL Editor - org.jboss.tools.bpel.feature.feature.group
JBoss BPEL Editor SDK - org.jboss.tools.bpel.sdk.feature.feature.group
JBoss ESB Tools - org.jboss.tools.esb.feature.feature.group
JBoss Portlet - org.jboss.tools.portlet.feature.feature.group
jBPM 4 Graphical Editor and Tools - org.jboss.tools.flow.jpdl4.feature.feature.group
jBPM 4 Tools SDK - org.jboss.tools.jbpm4.sdk.feature.feature.group
JMX Console - org.jboss.tools.jmx.feature.feature.group
JMX Console SDK - org.jboss.tools.jmx.sdk.feature.feature.group
JMX Console Source - org.jboss.tools.jmx.source.feature.feature.group
Struts Tools - org.jboss.tools.struts_feature.feature.group
wrong or missing copyright text
JBoss Profiler - org.jboss.tools.profiler.feature.feature.group
jBPM jPDL Tools - org.jbpm.gd.jpdl.feature.feature.group
--
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
16 years, 2 months
[JBoss JIRA] Created: (JBIDE-5033) JUnit Tests fail on Hudson x86_64 platforms
by Denis Golovin (JIRA)
JUnit Tests fail on Hudson x86_64 platforms
-------------------------------------------
Key: JBIDE-5033
URL: https://jira.jboss.org/jira/browse/JBIDE-5033
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Build/Releng
Affects Versions: 3.1.0.M4
Reporter: Denis Golovin
Assignee: Nick Boldt
Fix For: 3.1.0.M4, 3.1.0.CR1
It seems to work for me locally on x86_64 linux but throws exception on hudson
[java] !STACK 0
> [java] org.eclipse.swt.SWTError: XPCOM error -2147467259
> [java] at org.eclipse.swt.browser.Mozilla.error(Mozilla.java:2068)
> [java] at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:457)
> [java] at org.eclipse.swt.browser.Browser.<init>(Browser.java:119)
> [java] at org.jboss.tools.vpe.xulrunner.browser.XulRunnerBrowser.<init>(XulRunnerBrowser.java:87)
> [java] at org.jboss.tools.vpe.xulrunner.editor.XulRunnerEditor.<init>(XulRunnerEditor.java:135)
> [java] at org.jboss.tools.vpe.editor.mozilla.MozillaEditor$10.<init>(MozillaEditor.java:521)
> [java] at org.jboss.tools.vpe.editor.mozilla.MozillaEditor.createPartControl(MozillaEditor.java:521)
> [java] at org.jboss.tools.vpe.editor.VpeEditorPart.createVisualEditor(VpeEditorPart.java:911)
> [java] at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor.pageChange(JSPMultiPageEditor.java:210)
> [java] at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor.createPages(JSPMultiPageEditor.java:400)
> [java] at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditorPart.createPartControl(JSPMultiPageEditorPart.java:125)
> [java] at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:662)
> [java] at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462)
> [java] at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
> [java] at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
> [java] at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
> [java] at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
> [java] at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
> [java] at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
> [java] at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
> [java] at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
> [java] at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)
> [java] at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
> [java] at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
> [java] at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
> [java] at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
> [java] at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
> [java] at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)
> [java] at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)
> [java] at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:778)
> [java] at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:677)
> [java] at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:638)
> [java] at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2854)
> [java] at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2762)
> [java] at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2754)
> [java] at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2705)
> [java] at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> [java] at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2701)
> [java] at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2685)
> [java] at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2676)
> [java] at org.jboss.tools.vpe.ui.test.VpeTest.openEditor(VpeTest.java:222)
> [java] at org.jboss.tools.jsf.vpe.facelets.test.FaceletsComponentTest.performTestForFaceletComponent(FaceletsComponentTest.java:347)
> [java] at org.jboss.tools.jsf.vpe.facelets.test.FaceletsComponentTest.testDebug(FaceletsComponentTest.java:54)
> [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 junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> [java] at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> [java] at junit.framework.TestResult.runProtected(TestResult.java:124)
> [java] at junit.extensions.TestSetup.run(TestSetup.java:25)
> [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:134)
> [java] at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3468)
> [java] at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3115)
> [java] at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
> [java] at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
> [java] at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
> [java] at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
> [java] at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> [java] at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
> [java] at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> [java] at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
> [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:194)
> [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:368)
> [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:559)
> [java] at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
> [java] at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
> [java] at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
> [java] at org.eclipse.core.launcher.Main.main(Main.java:34)
--
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
16 years, 2 months