I have a project in Java EE that includes classes from other project . I tried adding the classes that are used in this project directly. These classes are created in the folder with a javac command just before the javac for the module which I am trying to build.
When I looked at the error the error contains the classes in CTDUtility.bin path. How can I get it done?
    <fileset dir="${CTDUtility.bin}">
        <include name="**/*.class"/>
    </fileset>  
    </开发者_Python百科javac>
Thanks in advance
When defining the classpath, you only need to provide the directory containing the classes, not the class files themselves.
e.g.
<path id="compile.classpath">
     <pathelement location="${CTDUtility.bin}" />
</path>
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论