Skip to content

Commit

Permalink
fixing line endings and test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
kicktipp committed Dec 6, 2014
1 parent 81b0ac3 commit 497b2f1
Show file tree
Hide file tree
Showing 43 changed files with 712 additions and 922 deletions.
10 changes: 10 additions & 0 deletions .derived
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Only used for Eclipse Plugin at
# https://github.com/nodj/AutoDeriv
jawr
jawr-dwr2.x
jawr-dwr3.x
jawr-grails
jawr-spring
jawr-tools
jawr-wicket

7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,10 @@ target/
.launcher
.classpath
.project
/jawr/
/jawr-dwr2.x/
/jawr-dwr3.x/
/jawr-grails/
/jawr-spring/
/jawr-tools/
/jawr-wicket/
3 changes: 3 additions & 0 deletions jawr-dwr2.x/.derived
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
jawr-dwr2.x-extension
jawr-dwr2.x-integration-test
jawr-dwr2.x-webapp-sample
35 changes: 14 additions & 21 deletions jawr-dwr2.x/jawr-dwr2.x-webapp-sample/pom.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>net.jawr</groupId>
Expand Down Expand Up @@ -70,7 +71,19 @@
<executions>
<execution>
<!-- Use this phase so that maven war includes our bundles -->
<id>withoutCDNFiles</id>
<phase>prepare-package</phase>
<configuration>
<generateCDNFiles>true</generateCDNFiles>
</configuration>
</execution>
<execution>
<!-- Use this phase so that maven war includes our bundles -->
<id>withCDNFiles</id>
<phase>prepare-package</phase>
<configuration>
<generateCDNFiles>true</generateCDNFiles>
</configuration>
</execution>
</executions>
<dependencies>
Expand Down Expand Up @@ -99,26 +112,6 @@
<generateCDNFiles>false</generateCDNFiles>
</configuration>
</plugin>
<plugin>
<groupId>net.jawr</groupId>
<artifactId>jawr-maven-plugin</artifactId>
<dependencies>
<dependency>
<groupId>com.carrotsearch</groupId>
<artifactId>smartsprites</artifactId>
<version>${smartsprites.version}</version>
</dependency>
</dependencies>
<executions>
<execution>
<!-- Use this phase so that maven war includes our bundles -->
<phase>prepare-package</phase>
</execution>
</executions>
<configuration>
<generateCDNFiles>true</generateCDNFiles>
</configuration>
</plugin>
</plugins>
</build>
</project>
3 changes: 3 additions & 0 deletions jawr-dwr3.x/.derived
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
jawr-dwr3.x-extension
jawr-dwr3.x-integration-test
jawr-dwr3.x-webapp-sample
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public void checkGeneratedJsLinks() {
assertEquals(2, scripts.size());
HtmlScript script = scripts.get(0);
assertEquals(
getUrlPrefix()+"/jawr/1356556111/bundles/global.js",
getUrlPrefix()+"/jawr/N1702504798/bundles/global.js",
script.getSrcAttribute());
script = scripts.get(1);
assertEquals(
Expand Down
Loading

0 comments on commit 497b2f1

Please sign in to comment.