Move resources under package name prefix #10

This commit is contained in:
mkpaz 2023-02-09 14:02:11 +04:00
parent 90b5ded91f
commit cc6b4c143b
1222 changed files with 5 additions and 12 deletions

@ -31,12 +31,6 @@
<build> <build>
<resources> <resources>
<!-- place all resources under module package prefix -->
<resource>
<directory>src/main/resources</directory>
<targetPath>atlantafx/base</targetPath>
<filtering>false</filtering>
</resource>
<!-- copy compiled CSS to the classpath --> <!-- copy compiled CSS to the classpath -->
<resource> <resource>
<directory>../styles/dist</directory> <directory>../styles/dist</directory>

@ -91,18 +91,16 @@
<build> <build>
<resources> <resources>
<!-- place all resources under module package prefix --> <!-- filter resources -->
<resource> <resource>
<directory>src/main/resources</directory> <directory>src/main/resources</directory>
<targetPath>atlantafx/sampler</targetPath>
<filtering>false</filtering> <filtering>false</filtering>
</resource> </resource>
<resource> <resource>
<directory>src/main/resources</directory> <directory>src/main/resources</directory>
<targetPath>atlantafx/sampler</targetPath>
<filtering>true</filtering> <filtering>true</filtering>
<includes> <includes>
<include>application.properties</include> <include>atlantafx/sampler/application.properties</include>
</includes> </includes>
</resource> </resource>
<!-- copy pages for source code viewer --> <!-- copy pages for source code viewer -->
@ -138,7 +136,7 @@
<configuration> <configuration>
<args> <args>
<arg> <arg>
${project.basedir}/src/main/resources/assets/styles/scss/index.scss:${project.build.directory}/classes/atlantafx/sampler/assets/styles/index.css ${project.basedir}/src/main/resources/atlantafx/sampler/assets/styles/scss/index.scss:${project.build.directory}/classes/atlantafx/sampler/assets/styles/index.css
</arg> </arg>
<arg>--no-source-map</arg> <arg>--no-source-map</arg>
</args> </args>

@ -33,8 +33,9 @@ module atlantafx.sampler {
opens atlantafx.sampler.fake.domain; opens atlantafx.sampler.fake.domain;
// resources // resources
opens atlantafx.sampler.assets; opens atlantafx.sampler;
opens atlantafx.sampler.assets.highlightjs; opens atlantafx.sampler.assets.highlightjs;
opens atlantafx.sampler.assets.styles; opens atlantafx.sampler.assets.styles;
opens atlantafx.sampler.images;
opens atlantafx.sampler.images.modena; opens atlantafx.sampler.images.modena;
} }

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Some files were not shown because too many files have changed in this diff Show More