Paullo612 / mlfx

OpenJFX's FXML language AOT compler
Apache License 2.0
11 stars 0 forks source link

Windows build is broken #21

Closed ennerf closed 1 year ago

ennerf commented 1 year ago

mvn package is currently broken on Windows. On Linux it works as expected. It looks like it's something related to the backslash.

Command

git clone https://github.com/Paullo612/mlfx.git
cd mlfx
mvn package

Ubuntu 20.04

Apache Maven 3.8.5 (3599d3414f046de2324203b78ddcf9b5e4388aa0)
Maven home: /opt/maven
Java version: 17.0.5, vendor: Azul Systems, Inc., runtime: /usr/lib/jvm/zulu-17-amd64
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "5.15.90.1-microsoft-standard-wsl2", arch: "amd64", family: "unix"

image

Windows 10

Apache Maven 3.8.7 (b89d5959fcde851dcb1c8946a785a163f14e1e29)
Maven home: C:\ProgramData\chocolatey\lib\maven\apache-maven-3.8.7
Java version: 17, vendor: Oracle Corporation, runtime: C:\Program Files\Zulu\zulu-17
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

image

Errors

[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\attribute_instance_property\instanceProperty.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\attribute_static_property\staticProperty.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\bundle\bundle.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\coercible_id_property\idProperty.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\collection\collection.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\default_instance_property\instanceProperty.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\default_instance_property_fx_define\fxDefine.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\default_string_instance_property\instanceProperty.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\empty_attribute_instance_property\instanceProperty.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\empty_default_string_instance_property\instanceProperty.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\empty_string_read_only_instance_property\instanceProperty.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\enum_fx_constant\fxConstant.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\expression_handlers\handlers.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\external_fx_controller\fxController.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\fx_controller\fxController.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\fx_copy\fxCopy.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\fx_define\fxDefine.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\fx_factory\fxFactory.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\fx_include\car.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\fx_reference\fxReference.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\fx_root\fxRoot.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\fx_value\fxValue.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\generic_property\genericProperty.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\handlers\handlers.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\id_property\idProperty.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\initializable_fx_controller\fxController.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\initialize_fx_controller\fxController.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\inject\inject.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\instance_property\readOnlyInstanceProperty.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\multiple_instance_properties\instanceProperty.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\multiple_resources\properties.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\resources\resources.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\root_primitive_fx_constant\fxConstant.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\root_primitive_fx_factory\fxFactory.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\static_property\staticProperty.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\string_instance_property\instanceProperty.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\string_read_only_attribute_instance_property\instanceProperty.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\string_read_only_instance_property\instanceProperty.fxml
[ERROR]   ComplianceSpec.FXMLLoader loads the same object tree as CompiledFXMLLoader for #pathAndTestName.testName:283->CompileSpec.compile:91 » Runtime java.lang.IllegalArgumentException: Illegal character in path at index 2: io\github\paullo612\mlfx\compiler\compliance\two_slots_primitive\twoSlotsPrimitive.fxml
[INFO]
[ERROR] Tests run: 477, Failures: 0, Errors: 39, Skipped: 0
Paullo612 commented 1 year ago

Fixed. Thanks for the report! Messed up with line separators a little bit. I haven't tested fixes on real project, but as far as tests are now compile fine, there should be no problems anymore.