Native Map library build error

46 views
Skip to first unread message

wicky...@gmail.com

unread,
May 15, 2014, 8:51:06 AM5/15/14
to codenameone...@googlegroups.com
IDE: NetBeans 7.4
Desktop OS -- Windows 8

Hi, this is the strangest thing today, end of the day ghost story.
The GoogleMaps.cn1lib was downloaded, copied to lib folder. The Codenameone project was pressed refreshlibs, the version is updated to 1.73 for the netbean plugin.

Yesterday i had to uncheck the "build on classpath" out for it to discover the googlemap library.
Today after several send to server builds, and at around 10 minutes ago, it stop discovering the library!... It says

package com.codename1.googlemaps does not exist


I am confused, since it was working just a few minutes ago.

Regards,
Wick

wicky...@gmail.com

unread,
May 15, 2014, 9:12:12 AM5/15/14
to codenameone...@googlegroups.com, wicky...@gmail.com
 <target name="copy-libs" depends="init">
        <copy todir="${build.classes.dir}">
            <fileset dir="lib/impl/cls" />
        </copy>
    </target>

does this have anything to do with it? everthing is proper in the impl folder. But why does it not discover the classes, where have i gone wrong?

Shai Almog

unread,
May 15, 2014, 12:31:08 PM5/15/14
to codenameone...@googlegroups.com, wicky...@gmail.com
Does the build itself work?
NetBeans sometimes goes haywire and loses completion and other code hints but the build should still work.

Wick S

unread,
May 15, 2014, 1:37:42 PM5/15/14
to Shai Almog, codenameone...@googlegroups.com

The build also does not work. It gives the same error..
It was working like 20 mins before but went haywire. Does restarting the machine helps? Or deleting some tmp files.....flushing cache etc.

wicky...@gmail.com

unread,
May 16, 2014, 1:34:04 AM5/16/14
to codenameone...@googlegroups.com, Shai Almog, wicky...@gmail.com
Hi,

Its back to work again,
what i did was send a build to server, and after that tried to build locally. And it works.
I think the problem is in the ant script somewhere, or maybe  because i cancelled the last sent to server build.

Thankz anyhow, keep u update,
cheers.

Shai Almog

unread,
May 16, 2014, 2:38:08 AM5/16/14
to codenameone...@googlegroups.com, Shai Almog, wicky...@gmail.com
Hi,
the server build updates the libraries so its possible your plugin is out of date or your project was created a while back.
You can update manually using update client libs in project properties.

Wick S

unread,
May 16, 2014, 3:04:51 AM5/16/14
to Shai Almog, codenameone...@googlegroups.com

Yes my project was created in Jan until i had to switch attention to another project

However i had tried updating the libs n reloading build.xml

Would it be better if i create a new project from the source files?

Havent tried that

Regards
Wick

Shai Almog

unread,
May 16, 2014, 10:16:11 AM5/16/14
to codenameone...@googlegroups.com, Shai Almog, wicky...@gmail.com
Updating the plugin and libraries should work just fine.
If the build.xml is updated you will be notified of that when you exit the project preferences.
Reply all
Reply to author
Forward
0 new messages