divinglog Member Licensed User Longtime User Aug 12, 2019 #1 Hello When using Simple Library Compiler with a Java source file which includes an org.xxx package name (instead of com.xxx) SLC fails to create the xml file. So this works: B4X: package com.mylibrary; import anywheresoftware.b4a.BA; import anywheresoftware.b4a.BA.*; ... This fails to create the xml file: B4X: package org.mylibrary; import anywheresoftware.b4a.BA; import anywheresoftware.b4a.BA.*; ... Is this expected behaviour? The compilation of the JAR file seems to work even with org, but the XML file is almost empty: B4X: <?xml version="1.0" encoding="UTF-8"?> <root> <doclet-version-NOT-library-version>1.07</doclet-version-NOT-library-version> </root>
Hello When using Simple Library Compiler with a Java source file which includes an org.xxx package name (instead of com.xxx) SLC fails to create the xml file. So this works: B4X: package com.mylibrary; import anywheresoftware.b4a.BA; import anywheresoftware.b4a.BA.*; ... This fails to create the xml file: B4X: package org.mylibrary; import anywheresoftware.b4a.BA; import anywheresoftware.b4a.BA.*; ... Is this expected behaviour? The compilation of the JAR file seems to work even with org, but the XML file is almost empty: B4X: <?xml version="1.0" encoding="UTF-8"?> <root> <doclet-version-NOT-library-version>1.07</doclet-version-NOT-library-version> </root>
DonManfred Expert Licensed User Longtime User Aug 12, 2019 #2 What is the content of the b4aignore-line? What is the full output from slc (the log inside slc)?
divinglog Member Licensed User Longtime User Aug 12, 2019 #3 DonManfred said: What is the content of the b4aignore-line? What is the full output from slc (the log inside slc)? Click to expand... I've used the default ignore line, but now I see the problem: B4X: org,com.android,com.example,com.hoho I've removed the org at the beginning and now it works. Thank you DonManfred!
DonManfred said: What is the content of the b4aignore-line? What is the full output from slc (the log inside slc)? Click to expand... I've used the default ignore line, but now I see the problem: B4X: org,com.android,com.example,com.hoho I've removed the org at the beginning and now it works. Thank you DonManfred!
Johan Schoeman Expert Licensed User Longtime User Aug 12, 2019 #4 divinglog said: I've used the default ignore line, but now I see the problem: B4X: org,com.android,com.example,com.hoho I've removed the org at the beginning and now it works. Thank you DonManfred! Click to expand... You have org, ....... Try with org., ......
divinglog said: I've used the default ignore line, but now I see the problem: B4X: org,com.android,com.example,com.hoho I've removed the org at the beginning and now it works. Thank you DonManfred! Click to expand... You have org, ....... Try with org., ......
DonManfred Expert Licensed User Longtime User Aug 12, 2019 #5 on his case removing the org was successful. No problem so far ;-)