Index: nbbuild/antsrc/org/netbeans/nbbuild/L10nTask.java =================================================================== RCS file: /shared/data/ccvs/repository/nbbuild/antsrc/org/netbeans/nbbuild/L10nTask.java,v retrieving revision 1.10 diff -u -r1.10 L10nTask.java --- nbbuild/antsrc/org/netbeans/nbbuild/L10nTask.java 8 Dec 2006 15:00:07 -0000 1.10 +++ nbbuild/antsrc/org/netbeans/nbbuild/L10nTask.java 15 Apr 2007 10:49:14 -0000 @@ -653,22 +653,9 @@ public void setModules(String s) { StringTokenizer st = new StringTokenizer(s,","); HashSet modSet = new HashSet(); //This will guarantee that there will be no duplications - String fullMod = null; while (st.hasMoreTokens()) { - fullMod=st.nextToken().trim();; - - // if (DEBUG) System.out.println("ITEM IN MODLIST: "+fullMod); - - int index = fullMod.indexOf(File.separator); - if (index >= 0) { - //Check that the mod doesn't have a slash - // (if it does, keep only what is to the left of the slash) - fullMod=fullMod.substring(0,index); - - // if (DEBUG) System.out.println("CHANGED FULLMOD & it's NOW "+fullMod); - } - modSet.add( fullMod ); + modSet.add( st.nextToken().trim() ); } this.modules = new String[ modSet.size() ]; Iterator it = modSet.iterator();