This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 228158 - DoS broken for maven ear - target/wldeploy not updated
Summary: DoS broken for maven ear - target/wldeploy not updated
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WebLogic (show other bugs)
Version: 7.3
Hardware: PC Linux
: P1 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-02 12:55 UTC by rbt
Modified: 2013-04-04 15:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Sample maven project (1.51 KB, application/x-gzip)
2013-04-04 08:28 UTC, rbt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rbt 2013-04-02 12:55:41 UTC
- Create an ejb project
- Create an ear project (ear has ejb project as dependency)
- Both projects have "Deploy on save" enabled
- Clean ear project
- Build with dependencies ear project
- run ear project on Weblogic (10.3.4.0)
- You can see in ear_project/target/wldeploy the exploded artifact
- Modify a class in ejb project
- You can see in WebLogic logs that ear is redeployed
- Modification date of the class has NOT been updated in ear_project/target/wldeploy/ear_project-version/ejb_project-version.jar/pa/ck/age/modified_class.class
Comment 1 Petr Hejl 2013-04-03 09:18:09 UTC
I'm trying to reproduce though I get to step 6 and now I'm facing #228191. So are these instructions to reproduce real or just a guess on howto reproduce the issue? Am I missing something? What is the Java EE version of those projects?
Comment 2 Petr Hejl 2013-04-03 09:31:26 UTC
It seems to be working at least for WLS 12.1.1 and projects created in the IDE. The classfile is properly updated.
Comment 3 Petr Hejl 2013-04-04 06:20:49 UTC
I'm sorry but I'm not able to reproduce this. The instructions are not so precise as they seems to be. Can you share a sample project triggering this?
Comment 4 rbt 2013-04-04 08:28:24 UTC
Created attachment 133300 [details]
Sample maven project

Here is the sample project you asked for.
I've just reproduced the problem with it.
NetBeans version I'm using: "NetBeans IDE 7.3 (Build 201302132200)"
Comment 5 rbt 2013-04-04 08:29:06 UTC
Changed status to reopened after having provided sample project.
Comment 6 Petr Hejl 2013-04-04 11:51:41 UTC
Seems to work just fine in dev build. The project is deployed and changes reflected in class file.

Can you share IDE log? Can you also retest with clean userdir and deleted caches?
Comment 7 rbt 2013-04-04 15:52:07 UTC
You are right.
I deleted ~/.netbeans/7.3 and applied my steps from a fresh start,
and it worked just fine!

Apparently something went wrong when importing conf from NetBeans 7.2.1...

Sorry for that, thanks for your help and time!