[
https://issues.jboss.org/browse/JBIDE-18860?page=com.atlassian.jira.plugi...
]
Darryl Miles commented on JBIDE-18860:
--------------------------------------
> How is the server setup ? is it a remote server or local running
one ?
Local, nothing special (unzip, install modules, edit standalone*xml with some things
should should not affect any of this test)
> Anything in the error log ?
There is in Eclipse concerning Maven -> Update Project, spitting an error (due to bug
in SPRING-IDE), I reported a while ago
https://jira.spring.io/browse/IDE-1357
> Anything in the server log ?
If you work through the previous comment you should see a deployment failure for the EAR,
due to the EJB and WAR file missing from publish operation.
> Do you have m2e-wtp installed ? if no, then maven projects
won't work properly for sure - they will only be configured for the java part, not the
"web" (wtp) part and that is known to cause the issue above ;/
Yes with m2e-wtp installed.
Publish to Wildfly AS does not update files
-------------------------------------------
Key: JBIDE-18860
URL:
https://issues.jboss.org/browse/JBIDE-18860
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: server
Affects Versions: 4.2.0.Final
Environment: Windows7 64bit, JDK8u25
Reporter: Darryl Miles
Priority: Critical
Fix For: 4.2.1.Final, 4.2.2.Final, 4.3.0.Alpha1
Attachments: org.example.jbide18860.tar.gz
I think I am on JBIDE product 4.2.0.Final (but features show as 3.6.0.Final and Plugins
as 3.0.0.Final-v20141016)
I have an EAR Maven project published to Wildfly 8.x.
there is a file in the project
TOPLEVEL/src/main/application/META-INF/jboss-deployment-structure.xml
If this file is edited and saved, and I perform publish operation on server. The change
is never made to the deployments directory.
If I manually delete the file from the deployments direcory, then perform clean operation
and publish operation and full publish operation, the file is never re-crearted.
The only way is to REMOVE EAR module from server, clean server, stop server, ADD EAR
module to server, publish server, start server.
Now the file is updated.
I also note that I have a number of workspace JPA/JAR projects that should be included in
the EAR in the lib/* folder but they are never copied there.
I have found a copy in a folder like
workspace\.metadata\.plugins\org.jboss.ide.eclipse.as.core\WildFly_8.1.0.Final\tempRemoteDeploy\
in here are the JARs I expected to find in the server runtime folder
wildfly-8.1.0.Final\standalone\deployments\com.company.ear\lib\**
The timestamps on the files in this directory appear to be up-to-date at each publish
event.
As a workaround I use "Make As Deployable" on the file
workspace\com.company.ear\target\com.company.ear-1.2.3-SNAPSHOW.ear and I use a manual
Maven build profile to create this file.
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)