AnsweredAssumed Answered

spark module build error

Question asked by othmanelmoulat on Jun 16, 2008
Latest reply on Jun 17, 2008 by othmanelmoulat

 

hi,

 

 

i checked out the svn src code of spark module to my elipse IDE.

 

 

I build it with ant build.xml and it successfully build

 

 

In package[file:///C:/workspace/Weetic_Spark/src/java/org/jivesoftware/resource/]

 

 

i created a new class WeeticResource.java 

 

 

when i build this time , i get below error .

 

 

i can't figure out the cause of this build error .can someone help ?

 

 

thanks

 

 

file:///C:/workspace/Weetic_Spark/src/java/org/jivesoftware/resource/

 

Buildfile: C:\workspace\Weetic_Spark\build\build.xml

init:

resources:

base:

      Building jar: C:\workspace\Weetic_Spark\target\build\lib\base.jar

build:

    Compiling 300 source files to C:\workspace\Weetic_Spark\target\classes

    C:\workspace\Weetic_Spark\src\java\org\jivesoftware\resource\WeeticResource.jav a:25: duplicate class: java.org.jivesoftware.resource.WeeticResource

    public class WeeticResource {

            ^

    C:\workspace\Weetic_Spark\src\java\org\jivesoftware\LoginDialog.java:18: cannot access org.jivesoftware.resource.WeeticResource

    bad class file: C:\workspace\Weetic_Spark\src\java\org\jivesoftware\resource\WeeticResource.jav a

    file does not contain class org.jivesoftware.resource.WeeticResource

    Please remove or make sure it appears in the correct subdirectory of the classpath.

    import org.jivesoftware.resource.WeeticResource;

                                     ^

 

BUILD FAILED

C:\workspace\Weetic_Spark\build\build.xml:207: Compile failed; see the compiler error output for details.

 

Total time: 12 seconds

Outcomes