on 08-15-2006 8:59 AM
Hello all,
I added a new class (tableSorter.java) to my WebDynpro project.
used it in my project. everything was working well on our dev environment.
after checkin, when trying to activate the activity I got the next error:
duplicate class: com.util.TableSorter...
...Ant build finished with ERRORS
I opened a new activity erased the class from the project
but still when trying to activate I get the same error.
Here is part of the CBS Build Log:
.
.
.
[wdgen] [Info] Generating configuration/Components/haifa.ac.il.comp.InfoStComp/InfoStComp.xml
[wdgen] [Info] Generating packages/haifa/ac/il/comp/wdp/ResourceInfoStComp.properties
[wdgen] [Info] Generating packages/haifa/ac/il/comp/wdp/ResourceInfoStComp_iw.properties
[wdgen] [Info] Generating configuration/Applications/haifa.ac.il.app.InfoStApp/InfoStApp.xml
[wdgen] [Info] Generating portalapp.xml
[Ant] failed to retrieve classpath from PluginClassLoader: java.lang.IllegalAccessException: Class com.sap.ide.webdynpro.generation.runtime.ArchiveTemplateHelper can not access a member of class com.sap.tc.buildtool.PluginClassLoader with modifiers "private"
[wdgen] [Info] Generating wd.xml
[wdgen] [Info] Generating application.xml
[wdgen] [Info] Generating application-j2ee-engine.xml
[wdgen] [Info] Generating PublicPartFileList.properties
[wdgen] WARNING: [Warning] Generation of PublicPartFileList.xml failed: null
[wdgen] [Info] Generation finished (7 seconds)
[wdgen]
[mkdir] Created dir: /usr/sap/DPO/JC10/j2ee/cluster/server0/temp/CBS/27/.B/1126/t/E1E85EBBE24E50194DF2D12AD4A3F975/classes
[javac] Compiling 122 source files to /usr/sap/DPO/JC10/j2ee/cluster/server0/temp/CBS/27/.B/1126/t/E1E85EBBE24E50194DF2D12AD4A3F975/classes
/usr/sap/DPO/JC10/j2ee/cluster/server0/temp/CBS/27/.B/1126/DCs/haifa.ac.il/hu/dcinfost/_comp/src/packages/TableSorter.java:30: <b>duplicate class: com.util.TableSorter</b>
public final class TableSorter
^
1 error
Ant build finished with ERRORS
file:/usr/sap/DPO/JC10/j2ee/cluster/server0/temp/CBS/27/.B/1126/DCs/haifa.ac.il/hu/dcinfost/_comp/gen/default/logs/build.xml:63: Compile failed; see the compiler error output for details.
Ant build finished at 2006-08-15 10:30:27 GMT+02:00 (IST), Duration: 12 seconds
Build finished with ERROR
Cleaning up.
How can I solve this problem?
Thanks for your time, Adi
Hi,
The problem was solved:
When activating I went to the advanced option.
Checked the 'activate even if build fails' option.
The activation was successful.
later I synced sources (got the last version from the DTR).
In that version there was really a duplicate class.
fixed that.
recheckedin and activated.
Regards, Adi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.