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 137044 - etl.project/build.xml#i18n is bad
Summary: etl.project/build.xml#i18n is bad
Status: STARTED
Alias: None
Product: soa
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Shansi 11
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-11 21:44 UTC by Jesse Glick
Modified: 2009-02-20 18:06 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 Jesse Glick 2008-06-11 21:44:56 UTC
This target does not make sense. It appears to create some files in src (which you should never ever do), copy them to
build/classes, then delete them from src. Worse, they are versioned in src! This causes the source tree to look modified
(missing files) just because you built these modules, which is tripping people up.

etl.editor looks similar, except that it does not delete the files from src afterwards.

Unless I am missing something, you should

1. Fix the targets for both modules to generate directly to build/classes.

2. Delete (hg rm) the files from src.
Comment 1 Jesse Glick 2008-07-09 00:13:53 UTC
This hit me again.

M etl.editor/src/org/netbeans/modules/etl/logger/msgs.properties
M etl.editor/src/org/netbeans/modules/etl/logger/msgs_log.properties

Please take a moment and fix this, it should not be hard.
Comment 2 Shansi 11 2008-07-24 12:54:42 UTC
http://hg.netbeans.org/main/rev/d0c44ed811a4
Comment 3 Jesse Glick 2008-07-24 15:47:51 UTC
You need to set the Target Milestone when resolving any issue as FIXED.


Please don't include changes to unrelated source files (*.java here) in a commit.


You do not seem to have followed my note that generating anything to build/classes will have no effect (at least in a
clean build) if it is done as part of the netbeans-extra target, after the module JAR has already been created from the
contents of build/classes at the time. You need to delete

<antcall target="compile-i18"/>

and rename the target to simply "compile" so that it will be treated as an override of the regular target.
(depends="projectized-common.compile" ensures that the regular target is called first.)


BTW etl.editor/build.xml should not be calling <copy>. The desired files already get copied to the cluster by the
release.* properties in project.properties - which also register the cluster files in your NBM automatically, and would
be registering their licenses too were you to be compliant with http://wiki.netbeans.org/DevFaqExternalLibraries
conventions.
Comment 4 Sergey Lunegov 2008-12-10 15:25:53 UTC
Related to GF ESB distribution. Not to NB 7.0
Comment 5 Marian Mirilovic 2009-02-20 18:06:51 UTC
update no67 keyword