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 80769 - antcall target doesn't work with hello-jaxws javaee5 sample
Summary: antcall target doesn't work with hello-jaxws javaee5 sample
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-21 00:27 UTC by davisn
Modified: 2006-07-21 18:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description davisn 2006-07-21 00:27:28 UTC
When select to run project hello-jaxws javaee5 sample, the execution only
happens at depends target, not antcall target (eg, ..)
<target name="all" depends="run-client">
   <antcall target="restore"/>
</target>

Only "run-client" is executed not "restore" target

STEPS TO RRPRODUCE:
1. Install AppServer 9PE SDK version
2. Install Netbean IDE 5.5 - nightly build 7/20
3. Open ..\samples\javaee5\webservices\hello-jaxws project
4. Select to Build > run the project
BUG:
    The hello-jaxws project was complied and executed sucessfully; howerver, it
was not cleaned up after execution (since antcall restore target was not called)
    This problem doesn't happen if I execute "ant all" from the command line
Comment 1 Sherold Dev 2006-07-21 09:47:16 UTC
-> sunappserv
Comment 2 Vince Kraemer 2006-07-21 15:21:09 UTC
please attach the ant output that appears in the NetBeans output window.
Comment 3 Vince Kraemer 2006-07-21 18:40:22 UTC
I downloaded the Java EE 5 samples from java.sun.com.

I opened the project properties and saw that the Run command was linked to the
run-client target.

So, that worked like I would expect.  NetBeans does what the project's author
told it to do.

Then I tried to run the 'all' target, which is linked to the Build action for
the project. After a couple fits and starts [I did not do all the configuration
that the bp-project framework expects], I was able to run the all target to
completion (including the restore subtarget)