Hi,
Im trying to compile 6 different sub projects. Basically im calling all the sub projects (where some are depended on some other jar) build file from main build file, with
<ant dir=.. target=.. >
The problem comes when i trying to set classpath using classrefid on the subprojects.
I have a property file, importing this as an xml file and using &property to load it in to the all sub-projects.
I set classpath to all sub projects by this:
<path dir.. id=depend.id>
< pathelement location= >
and using them on <javac .. classpathref="depended.id"
On first project it work well.. but on second build file it cant recognize any class files, even if they are in classpath. (i tried to get get it as stirning )
So even they are in classpath and the jar file includes the necessary class files to compile it WONT WORK..
is there any other solution to set dependencies classpath than using <path> ??
Im trying to compile 6 different sub projects. Basically im calling all the sub projects (where some are depended on some other jar) build file from main build file, with
<ant dir=.. target=.. >
The problem comes when i trying to set classpath using classrefid on the subprojects.
I have a property file, importing this as an xml file and using &property to load it in to the all sub-projects.
I set classpath to all sub projects by this:
<path dir.. id=depend.id>
< pathelement location= >
and using them on <javac .. classpathref="depended.id"
On first project it work well.. but on second build file it cant recognize any class files, even if they are in classpath. (i tried to get get it as stirning )
So even they are in classpath and the jar file includes the necessary class files to compile it WONT WORK..
is there any other solution to set dependencies classpath than using <path> ??