Compiling AtCmdDemo Project causing problems with autogenerated xml files build as ANT | Thales IoT Developer Community
July 18, 2017 - 1:38pm, 3178 views
Hello,
I am trying to compile the AtCmdDemo project using the auto-generated build.xml as ant build. By clicking on Application Descriptor there exists a link to Export antenna buildfiles. Upon clicking that it will generate a mtj-build folder under which we can see the build.xml file. Running build.xml as ant build causes errors:
C:\Users\umasood\workspace\AtCmdDemo\mtj-build\IMP_NG_EHS5_REMOTE1\AtCmdDemo\classes\AtCmdDemo\AtCmdDemo.java:62: error: cannot find symbol
[wtkbuild] private ATCommand m_Cmd;
[wtkbuild] ^
[wtkbuild] symbol: class ATCommand
[wtkbuild] location: class AtCmdDemo
Why is this so ? Normally it should compile without errors.
Best regards,
Umair
Hello,
I have solved this problem by creating a new project. I don't know why it works, but it should also work with the existing AtCmdDemo.
Best Regards,
Umair
Hello Umair,
Good see you have manage this. Did you have a proper path to cwmlib_1.0.jar in the original project?
Best regards,
Michał
Hello,
Yes... I loaded the projects into eclipse directory from the content in the CD. I double checked cwmlib_1.0.jar, but it was producing same sought of error.
Best Regards,
Umair
So perhaps it was related with the fact that examples are by default set to Read-only?
Hello,
May be it could be the reason.Sometimes even if all libraries are set properly to the build path problems can happen ( but very rare ). For me, usually making a new project solves the problem.
Best Regards,
Umair