[JBoss JIRA] Created: (JBIDE-5878) Archives .packages configuration cannot be used without modifications to build archive with ant inside eclipse
by Denis Golovin (JIRA)
Archives .packages configuration cannot be used without modifications to build archive with ant inside eclipse
--------------------------------------------------------------------------------------------------------------
Key: JBIDE-5878
URL: https://jira.jboss.org/jira/browse/JBIDE-5878
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Archives
Affects Versions: 3.1.0.CR2
Reporter: Denis Golovin
Assignee: Rob Stryker
By default packages/package@todir attribute is set to /${project-name} and that works only when archive is built by using context menu on Archives View. If you create build.xml and run it by eclipse ant launcher it fails with error like
Error adding child node jarName.jar
[GenerateArchives] org.jboss.ide.eclipse.archives.core.model.ArchivesModelException: Error adding child node myJar.jar
[GenerateArchives] at org.jboss.ide.eclipse.archives.core.model.internal.ArchiveNodeImpl.addChild(ArchiveNodeImpl.java:273)
[GenerateArchives] at org.jboss.ide.eclipse.archives.core.util.ModelUtil.fillArchiveModel(ModelUtil.java:216)
[GenerateArchives] at org.jboss.ide.eclipse.archives.core.model.ArchivesModel.registerProject(ArchivesModel.java:194)
[GenerateArchives] at org.jboss.ide.eclipse.archives.core.model.ArchivesModel.registerProject(ArchivesModel.java:170)
[GenerateArchives] at org.jboss.ide.eclipse.archives.core.ant.GenerateArchivesTask.execute(GenerateArchivesTask.java:63)
[GenerateArchives] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[GenerateArchives] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[GenerateArchives] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[GenerateArchives] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[GenerateArchives] at java.lang.reflect.Method.invoke(Unknown Source)
[GenerateArchives] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[GenerateArchives] at org.apache.tools.ant.Task.perform(Task.java:348)
[GenerateArchives] at org.apache.tools.ant.Target.execute(Target.java:357)
[GenerateArchives] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[GenerateArchives] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[GenerateArchives] at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
[GenerateArchives] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[GenerateArchives] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[GenerateArchives] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[GenerateArchives] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[GenerateArchives] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
--
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, 10 months
[JBoss JIRA] Created: (JBIDE-4304) Autoconfigure datasources from JBoss in DTP
by Max Rydahl Andersen (JIRA)
Autoconfigure datasources from JBoss in DTP
-------------------------------------------
Key: JBIDE-4304
URL: https://jira.jboss.org/jira/browse/JBIDE-4304
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: JBossAS
Reporter: Max Rydahl Andersen
Fix For: 3.1.0.M1, 3.1.0.M2
It would be great if DTP would automatically (or semi-automatically) could be configured to pickup the -ds.xml in a server runtime so users didn't have to set it up.
Not sure where in the ui we should have this, a couple of options come to my mind:
1) At AS Server/runtime creation have a checkbox saying "Configure -ds.xml automatically in DTP" and then we will keep DTP informed about the -ds.xml files for it to pick up
2) In DTP's ui have a way to add or maybe only import a -ds.xml and have it preconfigured.
The biggest issue will be to know which drivers we should be using for -ds.xml...
Things that should be considered:
If users changes the -ds.xml how does DTP learn about it ?
If the users remove the -ds.xml how does DTP react ?
If the users add .?
Needs investigation into if DTP have extensions point that allows for this kind of 'monitored' resources to update the connections; or if it is better to simply just have a way to "import" settings from ds.xml's (and then possibly have a manual refresh to pickup changes)
Or have both.
The usecase for this is to be able to use already existing and newly added -ds.xml files from within Eclipse with minimal setup, i.e. for Seam and Dali projects.
(I think this is a duplicate, but couldn't find it ;(
--
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, 10 months