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 162798 - Unable to run tests of existing projects from Netbeans GUI
Summary: Unable to run tests of existing projects from Netbeans GUI
Status: CLOSED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: Composite Application (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-16 10:04 UTC by senthilprabhu
Modified: 2009-05-01 02:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Project to reproduce issue (67.40 KB, application/x-compressed)
2009-04-16 10:09 UTC, senthilprabhu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description senthilprabhu 2009-04-16 10:04:55 UTC
Unable to run tests of existing projects from Netbeans. The same tests when run from commandline works fine.

Netbeans build : 200904071900

Also, if you create a new project in Netbeans and create a new test case, then it works.

But for the existing projects, even if you create NEW tests, they do not run.  

The following is the output of the test run:

JBI/QE pre-init patch: generating
/Volumes/Work/qe/jdev/paths/jbidev/jbi/shasta/install/nb/SynchronousSampleApplication/nbproject/private/private.properties
JBI/QE pre-init patch: adding partner project SynchronousSample to
/Volumes/Work/qe/jdev/paths/jbidev/jbi/shasta/install/nb/SynchronousSampleApplication/nbproject/private/private.properties
patch_jbi_project:
pre-init:
init-private:
init-userdir:
init-user:
init-project:
do-init:
patch_jbi_project:
post-init:
init-check:
init:
Created dir: /Volumes/Work/qe/jdev/paths/jbidev/jbi/shasta/install/nb/SynchronousSampleApplication/test/results
test-report:
test:
BUILD SUCCESSFUL (total time: 0 seconds)
Comment 1 senthilprabhu 2009-04-16 10:09:38 UTC
Created attachment 80223 [details]
Project to reproduce issue
Comment 2 Sergey Lunegov 2009-04-16 10:17:12 UTC
Vladimir, please take a look.
Comment 3 ian_chalmers 2009-04-16 10:18:16 UTC
The recent changes to NetBeans to fix the EJB project regression (Issue 162215) has caused a regression for existing
projects i.e. those with a build.xml not generated by the post-fix builds of NetBeans.

The lack of the property esb.netbeans.platform results in the "test" target being skipped as
esb.netbeans.platform+have.tests is not set

We need to have backwards compatibility for existing projects ...
Comment 4 Vladimir Yaroslavskiy 2009-04-16 14:56:47 UTC
fixed: http://hg.netbeans.org/soa-dev65?cmd=changeset;node=97efd5e808d9

BPEL, XSLT samples have been updated too.

try the latest autobuild.
Comment 5 fmartinez1 2009-05-01 02:37:32 UTC
I was able to test successfully. Tested with attached and other existing projects and and all ran with no errors.