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 49368 - In macro PACKAGE_AND_NAME slashes are not replaced by dots
Summary: In macro PACKAGE_AND_NAME slashes are not replaced by dots
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: Other Linux
: P3 blocker (vote)
Assignee: Pavel Flaska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-21 16:01 UTC by ladermann
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

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 ladermann 2004-09-21 16:01:13 UTC
In a template of that works fine with NB 3.6 I 
use the macro __PACKAGE_AND_NAME__ like this: 
 
<code> 
 * @ejb:bean name="__NAME$Bean__" 
 *           display-name="__PACKAGE_AND_NAME__" 
</code> 
 
and this generated in NB 4.0 for 
de/dpa/npi/ejb/entity/TestBean.java: 
<code> 
 * @ejb:bean name="Test" 
 *           
display-name="de/dpa/npi/ejb/entity.TestBean" 
</code> 
 
Regards, 
Marco
Comment 1 Martin Roskanin 2004-09-21 16:07:48 UTC
I am not sure which module is responsible for this. Trying java.
Reassign if I am wrong. Thanks.
Comment 2 Martin Matula 2004-10-07 09:20:27 UTC
Pavle, you are already working on something similar (_PACKAGE_ macro),
right? This may be tightly related.
Comment 3 Pavel Flaska 2004-10-07 10:20:33 UTC
Similar problem in issue #50027.
(Both issues indicate problem with slashes in package name)
Comment 4 Pavel Flaska 2004-10-07 12:26:44 UTC
Fixed.

Checking in src/org/netbeans/modules/java/JavaDataLoader.java;
/cvs/java/src/org/netbeans/modules/java/JavaDataLoader.java,v  <-- 
JavaDataLoader.java
new revision: 1.72; previous revision: 1.71
done
Processing log script arguments...
Comment 5 Pavel Flaska 2004-10-07 12:27:43 UTC
x