The archive *.jar doesn't exist - building J2SE

36 views
Skip to first unread message

Gareth Murfin

unread,
Aug 2, 2016, 3:59:20 PM8/2/16
to CodenameOne Discussions
I have implemented a small text to speech library for cn1, it all builds apart from J2SE where it says:

buildNativeIOS:
createIosZip:
Zipping ios native code
Building zip: E:\ALL_CODE\ALL_CODE_STUFF_2016\NETBEANS\SilverSpeechCN1Lib\build\lib\nativeios.zip
buildNativeRIM:
createRimZip:
buildNativeAND:
createAndZip:
Zipping Android native code
Building zip: E:\ALL_CODE\ALL_CODE_STUFF_2016\NETBEANS\SilverSpeechCN1Lib\build\lib\nativeand.zip
buildNativeSE:
createSeZip:
Zipping JavaSE native code
E:\ALL_CODE\ALL_CODE_STUFF_2016\NETBEANS\SilverSpeechCN1Lib\build.xml:73: The following error occurred while executing this line:
E:\ALL_CODE\ALL_CODE_STUFF_2016\NETBEANS\SilverSpeechCN1Lib\build.xml:121: The following error occurred while executing this line:
E:\ALL_CODE\ALL_CODE_STUFF_2016\NETBEANS\SilverSpeechCN1Lib\build.xml:127: The archive *.jar doesn't exist
BUILD FAILED (total time: 0 seconds)

There is nothing wrong with the code, it works perfectly in my other apps, so what could be causing this ? I have started a new project 3 times and fail to see any reason at all.. Maybe cn1lib cant do J2SE?

Gareth Murfin

unread,
Aug 2, 2016, 4:06:25 PM8/2/16
to CodenameOne Discussions
Oops of course it can, I use them alot, so whats going on ?

Shai Almog

unread,
Aug 3, 2016, 1:27:19 AM8/3/16
to CodenameOne Discussions
Odd.
What do you have under the native/javase directory?

Gareth Murfin

unread,
Aug 4, 2016, 10:03:28 AM8/4/16
to CodenameOne Discussions
Just one file, containing:

package userclasses.nativeinterfaces;
import java.io.*;
public class TextToSpeechImpl implements userclasses.nativeinterfaces.TextToSpeech{
    
    public void say(final String param) {    
  }
    

    public boolean isSupported() {
        return true;
    }

}

Shai Almog

unread,
Aug 5, 2016, 2:12:49 AM8/5/16
to CodenameOne Discussions
You didn't change the build.xml or project in any way right?

Gareth Murfin

unread,
Aug 5, 2016, 8:47:50 AM8/5/16
to CodenameOne Discussions
No  it is a fresh project, really confusing.

Shai Almog

unread,
Aug 6, 2016, 1:24:18 AM8/6/16
to CodenameOne Discussions
I'll try to reproduce this after the weekend. Can you file an issue?
You are using NetBeans right?
Reply all
Reply to author
Forward
0 new messages