Skip to content

Commit

Permalink
Merge pull request #208 from evlstyle/master
Browse files Browse the repository at this point in the history
Update build versions to support java 1.8 , add logic to correct the mail content type in reportal.
  • Loading branch information
logiclord committed Nov 20, 2015
2 parents c22c3dd + 13ed4fd commit 75391d9
Show file tree
Hide file tree
Showing 16 changed files with 19 additions and 12 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
languages: java
jdk:
- oraclejdk8
install:
- time npm install -g less dustjs-linkedin
script: ant
2 changes: 1 addition & 1 deletion build.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name=azkaban-plugins
version=2.6.4
version=2.7.0
spec.file=azkaban.spec
Binary file modified extlib/azkaban-common-2.7.0.jar
Binary file not shown.
Binary file modified extlib/azkaban-execserver-2.7.0.jar
Binary file not shown.
Binary file modified extlib/azkaban-webserver-2.7.0.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion plugins/hadoopsecuritymanager-yarn/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<mkdir dir="${dist.classes.dir}" />

<javac fork="true" destdir="${dist.classes.dir}"
target="1.6" debug="true" deprecation="false" failonerror="true">
target="1.8" debug="true" deprecation="false" failonerror="true">
<src path="${java.src.dir}" />
<src path="${hadoopsecuritymanager-common.java.src.dir}" />
<classpath refid="main.classpath" />
Expand Down
2 changes: 1 addition & 1 deletion plugins/hadoopsecuritymanager/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<mkdir dir="${dist.classes.dir}" />

<javac fork="true" destdir="${dist.classes.dir}"
target="1.6" debug="true" deprecation="false" failonerror="true">
target="1.8" debug="true" deprecation="false" failonerror="true">
<src path="${java.src.dir}" />
<src path="${hadoopsecuritymanager-common.java.src.dir}" />
<classpath refid="main.classpath" />
Expand Down
4 changes: 2 additions & 2 deletions plugins/hdfsviewer/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
</copy>

<javac fork="true" destdir="${dist.classes.dir}"
target="1.6" debug="true" deprecation="false" failonerror="true">
target="1.8" debug="true" deprecation="false" failonerror="true">
<src path="${java.src.dir}" />
<classpath refid="main.classpath" />
</javac>
Expand All @@ -100,7 +100,7 @@
</copy>

<javac fork="true" destdir="${dist.tests.dir}"
target="1.6" debug="true" deprecation="false" failonerror="true">
target="1.8" debug="true" deprecation="false" failonerror="true">
<src path="${java.unit.dir}" />
<classpath refid="main.classpath" />
</javac>
Expand Down
2 changes: 1 addition & 1 deletion plugins/javaviewer/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
</copy>

<javac fork="true" destdir="${dist.classes.dir}"
target="1.6" debug="true" deprecation="false" failonerror="true">
target="1.8" debug="true" deprecation="false" failonerror="true">
<src path="${java.src.dir}" />
<classpath refid="main.classpath" />
</javac>
Expand Down
2 changes: 1 addition & 1 deletion plugins/jobsummary/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
</copy>

<javac fork="true" destdir="${dist.classes.dir}"
target="1.6" debug="true" deprecation="false" failonerror="true">
target="1.8" debug="true" deprecation="false" failonerror="true">
<src path="${java.src.dir}" />
<classpath refid="main.classpath" />
</javac>
Expand Down
4 changes: 2 additions & 2 deletions plugins/jobtype/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
</copy-->

<javac fork="true" destdir="${dist.classes.dir}"
target="1.6" debug="true" deprecation="false" failonerror="true">
target="1.8" debug="true" deprecation="false" failonerror="true">
<src path="${java.src.dir}" />
<src path="${hadoopsecuritymanager-common.java.src.dir}" />

Expand All @@ -87,7 +87,7 @@
<delete dir="${dist.classes.test.dir}" />
<mkdir dir="${dist.classes.test.dir}" />
<javac fork="true" destdir="${dist.classes.test.dir}"
target="1.6" debug="true" deprecation="false" failonerror="true">
target="1.8" debug="true" deprecation="false" failonerror="true">
<src path="${java.src.test.dir}" />
<classpath refid="main.classpath" />
</javac>
Expand Down
Binary file modified plugins/jobtype/lib/azkaban-common-2.7.0.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion plugins/pigvisualizer/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
</copy>

<javac fork="true" destdir="${dist.classes.dir}"
target="1.6" debug="true" deprecation="false" failonerror="true">
target="1.8" debug="true" deprecation="false" failonerror="true">
<src path="${java.src.dir}" />
<classpath refid="main.classpath" />
</javac>
Expand Down
2 changes: 1 addition & 1 deletion plugins/reportal/build.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
name=azkaban-reportal
version=2.6.3
version=2.7.0
2 changes: 1 addition & 1 deletion plugins/reportal/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
</copy>

<javac fork="true" destdir="${dist.classes.dir}"
target="1.6" debug="true" deprecation="false" failonerror="true">
target="1.8" debug="true" deprecation="false" failonerror="true">
<src path="${java.src.dir}" />
<classpath refid="main.classpath" />
</javac>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@ private boolean createEmail(ExecutableFlow flow, Set<String> emailList,
private boolean createMessage(Project project, ExecutableFlow flow,
EmailMessage message, String urlPrefix, boolean printData)
throws Exception {

// set mail content type to be "multipart/mixed" as we are customizing the main content.
// failed to to this may result in trouble accessing attachment when mail is viewed from IOS mail app.
message.enableAttachementEmbedment(false);

message.println("<html>");
message.println("<head></head>");
message
Expand Down

0 comments on commit 75391d9

Please sign in to comment.