Ur ant will compile but ide show errors
Don't worry
yup. why IDE is throwing error? that's my issue.
as I said
It's because ide can't understand what it means
Ur ide has rights to edit the code it won't go to xml and check it work or not
Still there is other libs which works fine even in IDE.
External libraries show errors
The main issue is the emmets we are not able to use it with external libs
Caught it convert It to
<copy toFile="${public.deps.dir}/mixpanel.jar" file="${lib.dir}/JarFolder/mixpanel-java-1.5.0.jar" />
Never change the file ="${lib.dir}
As Nick name only the public.deps.dir not lib.dir
Have you imported the library to the IDE? adding the library to the build.xml would copy the library to the deps folder when compiling, it won't have any effect on the IDE as far as I know.
Finally it will work fine as I mentioned
Is is shows cannot find error to you (in IDE not in Build logs) ??
yeah I have imported
If you didn't import the library to the IDE , it will definitely show a cannot find symbol error
you mean the import package using import statement like
import com.do.anything.*;
Finally got the solution.
Emmets for the external lib are also working now.
It's tough from my experience to understand how can we import external libraries using import com.name.name @ewpatton sir please explain it .will it compile
Just use an IDE like Intellij IDEA and it will do the rest of work.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.