You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
Reporter: Sergey Astakhov [Submitted to the original trac issue database at 2.16pm, Wednesday, 16th October 2013]
In lastest version of osmosis (0.43.1) in file \org\openstreetmap\osmosis\core\plugin\plugin.xml (inside osmosis-core-0.43.1.jar) there is used version string (version="0.42-6-gf39a160-dirty"), that is not compatible with JPF, because it's supported only dot delimiter. As result you can't use "requires" section in custom plugin.xml
import junit.framework.TestCase;
import org.java.plugin.registry.Version;
public class PluginVersionTest extends TestCase
{
public void testVersionCompatible()
{
Version coreVersion = Version.parse("0.42-6-gf39a160-dirty");
Version requiredCoreVersion = Version.parse("0.42");
assertTrue(coreVersion.isCompatibleWith(requiredCoreVersion));
}
}
The text was updated successfully, but these errors were encountered:
Reporter: Sergey Astakhov
[Submitted to the original trac issue database at 2.16pm, Wednesday, 16th October 2013]
In lastest version of osmosis (0.43.1) in file \org\openstreetmap\osmosis\core\plugin\plugin.xml (inside osmosis-core-0.43.1.jar) there is used version string (version="0.42-6-gf39a160-dirty"), that is not compatible with JPF, because it's supported only dot delimiter. As result you can't use "requires" section in custom plugin.xml
Test case:
The text was updated successfully, but these errors were encountered: