switched to using wro4j, main file works but responsive file doesn’t

pull/1137/merge
Justin Richer 8 years ago
parent fd8f628a4f
commit 9b2177a422

@ -84,29 +84,34 @@
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.lesscss</groupId> <groupId>ro.isdc.wro4j</groupId>
<artifactId>lesscss-maven-plugin</artifactId> <artifactId>wro4j-maven-plugin</artifactId>
<configuration> <version>1.8.0</version>
<sourceDirectory>${project.basedir}/src/main/less</sourceDirectory>
<outputDirectory>${project.basedir}/src/main/webapp/resources/bootstrap2/css</outputDirectory>
<compress>false</compress>
<includes>
<include>bootstrap.less</include>
<include>bootstrap-responsive.less</include>
</includes>
</configuration>
<executions> <executions>
<execution> <execution>
<phase>compile</phase>
<goals> <goals>
<goal>compile</goal> <goal>run</goal>
</goals> </goals>
<phase>process-sources</phase>
</execution> </execution>
</executions> </executions>
<configuration>
<targetGroups>bootstrap</targetGroups>
<destinationFolder>${project.build.directory}/${project.build.finalName}</destinationFolder>
<cssDestinationFolder>${project.build.directory}/${project.build.finalName}/resources/bootstrap2/css/</cssDestinationFolder>
<jsDestinationFolder>${project.build.directory}/${project.build.finalName}/js/</jsDestinationFolder>
<wroManagerFactory>ro.isdc.wro.maven.plugin.manager.factory.ConfigurableWroManagerFactory</wroManagerFactory>
</configuration>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<dependencies> <dependencies>
<dependency>
<groupId>ro.isdc.wro4j</groupId>
<artifactId>wro4j-extensions</artifactId>
<version>1.8.0</version>
</dependency>
<dependency> <dependency>
<groupId>org.mitre</groupId> <groupId>org.mitre</groupId>
<artifactId>openid-connect-server</artifactId> <artifactId>openid-connect-server</artifactId>

@ -0,0 +1,2 @@
preProcessors=cssImport
postProcessors=lessCss

@ -0,0 +1,6 @@
<groups xmlns="http://www.isdc.ro/wro">
<group name="bootstrap">
<css>/less/bootstrap.less</css>
<css>/less/bootstrap-responsive.less</css>
</group>
</groups>
Loading…
Cancel
Save