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 73294 - Target `run-${app.client}' does not exist
Summary: Target `run-${app.client}' does not exist
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EAR (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords: SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2006-03-06 15:24 UTC by Martin Schovanek
Modified: 2007-03-01 18:29 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 Martin Schovanek 2006-03-06 15:24:25 UTC
[#200603060300, jdk1.5.0]

to reproduce:
-------------
1) create new EAR project [J2EE 1.4, JBoss 4.0.4]
2) run the project
ERROR: IDE throws into Output window:
  run-display-browser:
  Browsing: http://localhost:8080/EAR14Test-WebModule/
  run-ac:
  .../EAR14Test/nbproject/build-impl.xml:232: The following error occurred while
executing this line:
  Target `run-${app.client}' does not exist in this project. 
  BUILD FAILED (total time: 5 seconds)
Comment 1 Lukas Jungmann 2006-03-06 15:31:09 UTC
Me or Martin will take care of this.
Comment 2 Martin Krauskopf 2006-03-07 09:56:08 UTC
I do not know what is exactly wanted. But you(Lukasi) may either run "run-ac"
target conditionally depending on app.client property, e.g.:

   <target name="run-ac" depends="init" if="app.client">
        <antcall target="run-${app.client}"/>
    </target> 

or fail the build if the user is supposed to always define the property. Depends
on the semantics of the application client project which I do not know :)
Comment 3 Lukas Jungmann 2006-03-07 12:03:55 UTC
yes, that "if" is missing there. Can I ask you to fix it, Martine?
Comment 4 Martin Krauskopf 2006-03-07 12:38:45 UTC
Checking in src/org/netbeans/modules/j2ee/earproject/resources/build-impl.xsl;
new revision: 1.19.36.2; previous revision: 1.19.36.1
Comment 5 Martin Schovanek 2007-03-01 18:29:15 UTC
v.