[JBoss JIRA] Created: (JBIDE-2930) Generate annotations is not adding @Id as it should
by Max Rydahl Andersen (JIRA)
Generate annotations is not adding @Id as it should
---------------------------------------------------
Key: JBIDE-2930
URL: https://jira.jboss.org/jira/browse/JBIDE-2930
Project: Tools (JBoss Tools)
Issue Type: Bug
Affects Versions: 3.0.0.beta1
Reporter: Max Rydahl Andersen
Assignee: Vitali Yemialyanchyk
Fix For: 3.0.0.beta1
Running Generate Annotations on
package org.devoxx.model;
public class Customer {
String name;
int id;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
}
results in
package org.devoxx.model;
import javax.persistence.Entity;
@Entity
public class Customer {
String name;
int id;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
}
There should be an @Id annotaiton on the id method/field shouldnt there ?
--
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
15 years, 8 months
[JBoss JIRA] Created: (JBIDE-2787) can't support "<#include" tag for parse all marcos for freemarker library
by super watano (JIRA)
can't support "<#include" tag for parse all marcos for freemarker library
-------------------------------------------------------------------------
Key: JBIDE-2787
URL: https://jira.jboss.org/jira/browse/JBIDE-2787
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: FreeMarker
Environment: eclipse 3.4
Reporter: super watano
Attachments: ConfigurationManager.java, MacroInstance.java
there is one freemarker library file "a.ftl". in the "a.ftl" file, it use code "<#include "b.ftl" />" to include "b.ftl". In this way, when Content Assist list all marcos, it only get all marcos from "a.ftl" and can't get from "b.ftl".
for this bug, I read all related codes, I find it only parse "#marco" for ftl file, the "#include" can't be supported now. so I need other temp solution for this case. I try to add the two ftl file into freemarker library as same namespace "w" on ".freemarker-ide.xml". but it only can get all marcos from the last ftl file. I read all related codes, I find it use the namespace to the key of Map on "org.jboss.ide.eclipse.freemarker.configuration.ConfigurationManager", It only support one namespace at one time. So I hack this codes, before add a MacroLibrary into the Map, I will check the Map, if it contain the current namespace, I will append some "_" char in the namespace begain, and use this new namespace for key to add MacroLibrary into the Map. When the Content Assist need list all marcos by file "org.jboss.ide.eclipse.freemarker.model.MacroInstance" on line 109, I will remove all begins "_" char for namespace.
I know this is a bad solution for this case, but it can fixed this bug. I sincerely hope you can fix this bug by a good solution.
--
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
15 years, 8 months
[JBoss JIRA] Created: (JBIDE-2749) Exception caught in FolderImpl.update()
by Krasimir Goutcev (JIRA)
Exception caught in FolderImpl.update()
---------------------------------------
Key: JBIDE-2749
URL: https://jira.jboss.org/jira/browse/JBIDE-2749
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Hibernate
Environment: JBoss nightly 2008/09/05
Ganymede
Reporter: Krasimir Goutcev
Every time when i save some ...hbm.xml -----> 34 identical exceptions:
eclipse.buildId=I20080617-2000
java.version=1.5.0_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=bg_BG
Command-line arguments: -os win32 -ws win32 -arch x86 -clean
This is a continuation of log file D:\EclipseGanymede6\eclipse\MyWorks\.metadata\.bak_1.log
Created Time: 2008-09-09 17:11:48.270
Error
Tue Sep 09 17:15:44 EEST 2008
Exception caught in FolderImpl.update()
org.eclipse.core.internal.resources.ResourceException: The resource tree is locked for modifications.
at org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:115)
at org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:1747)
at org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1470)
at org.jboss.tools.common.model.filesystems.impl.FolderImpl.update(FolderImpl.java:236)
at org.jboss.tools.common.model.util.EclipseResourceUtil.findResourceInFileSystem(EclipseResourceUtil.java:381)
at org.jboss.tools.common.model.util.EclipseResourceUtil.getObjectByResource(EclipseResourceUtil.java:107)
at org.jboss.tools.common.model.util.EclipseResourceUtil.getObjectByResource(EclipseResourceUtil.java:94)
at org.jboss.tools.common.model.markers.XMarkerManager.reload(XMarkerManager.java:61)
at org.jboss.tools.common.model.markers.XMarkerManager.reload(XMarkerManager.java:53)
at org.jboss.tools.common.model.markers.XMarkerManager.resourceChanged(XMarkerManager.java:42)
at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:288)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:282)
at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:148)
at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:313)
at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1022)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1809)
at org.eclipse.team.svn.core.utility.ProgressMonitorUtility$1.run(ProgressMonitorUtility.java:57)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
--
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
15 years, 8 months
[JBoss JIRA] Created: (JBDS-440) Class cast exception does not allow deploying
by Jeronimo Ginzburg (JIRA)
Class cast exception does not allow deploying
---------------------------------------------
Key: JBDS-440
URL: https://jira.jboss.org/jira/browse/JBDS-440
Project: Developer Studio
Issue Type: Bug
Affects Versions: 1.1.0.GA
Reporter: Jeronimo Ginzburg
Assignee: Max Rydahl Andersen
After deploying a seam application which has dependencies on other projects and external jars this error appears when asking starting, publishing, cleanning, etc.:
Publishing failed
Could not publish to the server.
org.eclipse.wst.server.core.internal.ModuleFolder
Could not publish to the server.
org.eclipse.wst.server.core.internal.ModuleFolder
And this is the error log:
java.lang.ClassCastException: org.eclipse.wst.server.core.internal.ModuleFolder
at org.eclipse.jst.j2ee.internal.deployables.J2EEFlexProjDeployable.members(J2EEFlexProjDeployable.java:203)
at org.eclipse.wst.server.core.internal.ModulePublishInfo.fillCache(ModulePublishInfo.java:283)
at org.eclipse.wst.server.core.internal.ModulePublishInfo.getDelta(ModulePublishInfo.java:333)
at org.eclipse.wst.server.core.internal.ServerPublishInfo.getDelta(ServerPublishInfo.java:360)
at org.eclipse.wst.server.core.internal.Server.getPublishedResourceDelta(Server.java:1057)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.getPublishedResourceDelta(ServerBehaviourDelegate.java:547)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:613)
at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:887)
at org.eclipse.wst.server.core.internal.Server.publish(Server.java:874)
at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:72)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
After this error, the only way to start the jboss within the developer studio is removing the server and adding it again. But the error appears later again.
This bug seems to be fixed in WTP 2.0.3:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=233196
Is it possible to upgrade WTP version?
--
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
15 years, 8 months