https://bz.apache.org/bugzilla/show_bug.cgi?id=66388

--- Comment #2 from RĂ©da Housni Alaoui <[email protected]> ---
Please note that the classloader involved in junit automatic tests (I suppose a
java native one) is able to retrieve the resource URI without any issue with
the space character:

> @Test
>  void test() throws URISyntaxException {
>         System.out.println(getClass()
>                         .getResource(
>                                         
> "/com/aqme/product/database/migration/sql/_443/V443_17_36495__some name.sql")
>                         .toURI());
>  }

produces:

> file:/home/rhousni/projects/center/core/common/target/classes/com/cos/center/database/migration/sql/_443/V443_17_36495__add_equipment_misc_and%20tag_in_inventory.sql

> Process finished with exit code 0

As you can see, the space has been replaced with '%20'

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to