BUILD FAILED: copylibs doesn't support the "excludeFromCopy" attribute

3,658 views
Skip to first unread message

cub...@gmail.com

unread,
Dec 9, 2013, 4:31:25 AM12/9/13
to codenameone...@googlegroups.com
Hi,

I created a new CN1 project but when I try and send it to the build server, I get the following error messages:

C:\Users\Desktop\Documents\NetBeansProjects\HelloWorld\nbproject\build-impl.xml:990: The following error occurred while executing this line:
C
:\Users\Desktop\Documents\NetBeansProjects\HelloWorld\nbproject\build-impl.xml:834: copylibs doesn't support the "excludeFromCopy" attribute

My older CN1 projects still work fine, it's only newly created projects which don't build on the server (they still run fine in the simulator).

Any idea how to fix this?

I'm using the CN1 plugin with NetBeans IDE 7.3.1 (Build 201306052037).

Thanks.

Shai Almog

unread,
Dec 9, 2013, 12:26:38 PM12/9/13
to codenameone...@googlegroups.com, cub...@gmail.com
Hi,
it seems NetBeans broke project compatibility with version 7.3 just click the error message and delete the excludeFromCopy=... attribute (not the entire row just the attribute).
We'll fix this for the release plugin thanks.

cub...@gmail.com

unread,
Dec 10, 2013, 2:55:51 AM12/10/13
to codenameone...@googlegroups.com, cub...@gmail.com
Thanks Shai, removing the line excludeFromCopy="${copylibs.excludes}" fixed the problem.

hamdane....@gmail.com

unread,
Jun 3, 2014, 10:58:56 AM6/3/14
to codenameone...@googlegroups.com

Hi.
I found the same problem but in the second ligne, I have Compile failed; see the compiler error output for details.
thanks for give my an answer.
 

Shai Almog

unread,
Jun 3, 2014, 1:08:42 PM6/3/14
to codenameone...@googlegroups.com, hamdane....@gmail.com
Hi,
please don't reopen unrelated old threads. Also please try to ask questions more clearly, I have no idea what your issue is.

find.g...@gmail.com

unread,
Sep 16, 2015, 6:43:04 AM9/16/15
to CodenameOne Discussions, hamdane....@gmail.com
Hello Shai, I am having the same issues with netbeans 7.3.1 and I am not sure I know how to delete the error you are talking about.

find.g...@gmail.com

unread,
Sep 16, 2015, 6:55:24 AM9/16/15
to CodenameOne Discussions, hamdane....@gmail.com, find.g...@gmail.com
I have fixed it. thank you.
Reply all
Reply to author
Forward
0 new messages