Java Question SLC with org.xxx package name

divinglog

Member
Licensed User
Longtime User
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
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
What is the content of the b4aignore-line?
What is the full output from slc (the log inside slc)?

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
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!
You have org, .......
Try with org., ......
 
Top