Pārlūkot izejas kodu

mail项目优化

leijie 8 gadi atpakaļ
vecāks
revīzija
1c41c47162

+ 0 - 150
display-server/pom.xml

@ -1,150 +0,0 @@
1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3
	<modelVersion>4.0.0</modelVersion>
4

5
	<parent>
6
		<groupId>com.ai.ipu</groupId>
7
		<artifactId>ipu-server-lib</artifactId>
8
		<version>3.0</version>
9
		<relativePath>../ipu-server-lib/pom.xml</relativePath>
10
	</parent>
11

12
	<artifactId>display-server</artifactId>
13
	<packaging>war</packaging>
14
	<name>展示平台</name>
15
	<description>3.0以后的展示平台工程全部支持Maven和Ant两种构建方式</description>
16

17
	<dependencies>
18
		<!-- 公共必选依赖 -->
19
		<!-- Central jar -->
20
		<dependency>
21
			<groupId>junit</groupId>
22
			<artifactId>junit</artifactId>
23
		</dependency>
24
		<dependency>
25
			<groupId>javax.servlet</groupId>
26
			<artifactId>servlet-api</artifactId>
27
		</dependency>
28
		<dependency>
29
			<groupId>org.apache.commons</groupId>
30
			<artifactId>commons-lang3</artifactId>
31
		</dependency>
32
		<dependency>
33
			<groupId>log4j</groupId>
34
			<artifactId>log4j</artifactId>
35
		</dependency>
36
		<dependency>
37
			<groupId>dom4j</groupId>
38
			<artifactId>dom4j</artifactId>
39
		</dependency>
40
		<dependency>
41
			<groupId>jaxen</groupId>
42
			<artifactId>jaxen</artifactId>
43
		</dependency>
44
		<dependency>
45
			<groupId>com.mashape.unirest</groupId>
46
			<artifactId>unirest-java</artifactId>
47
		</dependency>
48
		<dependency>
49
			<groupId>org.beetl</groupId>
50
			<artifactId>beetl-core</artifactId>
51
		</dependency>
52
		<dependency>
53
			<groupId>org.apache.velocity</groupId>
54
			<artifactId>velocity</artifactId>
55
		</dependency>
56
		<!-- 3rd party jar -->
57
		<dependency>
58
			<groupId>com</groupId>
59
			<artifactId>java_memcache-release</artifactId>
60
		</dependency>
61
		<!-- ipu jar -->
62
		<dependency>
63
			<groupId>com.ai.ipu</groupId>
64
			<artifactId>ipu-basic</artifactId>
65
		</dependency>
66
		<dependency>
67
			<groupId>com.ai.ipu</groupId>
68
			<artifactId>ipu-common</artifactId>
69
		</dependency>
70
		<dependency>
71
			<groupId>com.ai.ipu</groupId>
72
			<artifactId>ipu-server-web</artifactId>
73
		</dependency>
74
		<dependency>
75
			<groupId>com.ai.wade</groupId>
76
			<artifactId>wade-data</artifactId>
77
		</dependency>
78
		<dependency>
79
			<groupId>com.ai.wade</groupId>
80
			<artifactId>wade-cache</artifactId>
81
		</dependency>
82
		<dependency>
83
			<groupId>com.ai.wade</groupId>
84
			<artifactId>wade-database</artifactId>
85
		</dependency>
86
		<dependency>
87
			<groupId>com.ai.wade</groupId>
88
			<artifactId>wade-apache</artifactId>
89
		</dependency>
90
		<dependency>
91
			<groupId>com.ai.wade</groupId>
92
			<artifactId>wade-common</artifactId>
93
		</dependency>
94
		<dependency>
95
			<groupId>com.ai.wade</groupId>
96
			<artifactId>wade-sqlite-jdbc</artifactId>
97
		</dependency>
98

99
		<!-- 公共可选依赖 -->
100
		<dependency>
101
			<groupId>org.jsoup</groupId>
102
			<artifactId>jsoup</artifactId>
103
		</dependency>
104
		<dependency>
105
			<groupId>commons-dbcp</groupId>
106
			<artifactId>commons-dbcp</artifactId>
107
		</dependency>
108
		<dependency>
109
			<groupId>mysql</groupId>
110
			<artifactId>mysql-connector-java</artifactId>
111
		</dependency>
112
		<dependency>
113
			<groupId>commons-fileupload</groupId>
114
			<artifactId>commons-fileupload</artifactId>
115
		</dependency>
116
		<dependency>
117
			<groupId>commons-codec</groupId>
118
			<artifactId>commons-codec</artifactId>
119
		</dependency>
120
		<!-- 额外依赖 -->
121

122
	</dependencies>
123

124
	<build>
125
		<plugins>
126
			<!-- clean中间文件 -->
127
			<plugin>
128
				<artifactId>maven-clean-plugin</artifactId>
129
			</plugin>
130
			<!-- 复制资源 -->
131
			<plugin>
132
				<artifactId>maven-resources-plugin</artifactId>
133
			</plugin>
134
			<!-- 编译 -->
135
			<plugin>
136
				<artifactId>maven-compiler-plugin</artifactId>
137
			</plugin>
138
			<!-- 生成文件版本号和文件加密 -->
139
			<plugin>
140
				<groupId>org.codehaus.mojo</groupId>
141
				<artifactId>exec-maven-plugin</artifactId>
142
			</plugin>
143
			<plugin>
144
				<artifactId>maven-dependency-plugin</artifactId>
145
			</plugin>
146
		</plugins>
147

148
		<finalName>display</finalName>
149
	</build>
150
</project>

BIN
ipu-ffmpeg/ic_launcher-web.png


+ 8 - 0
ipu-mail/.classpath

@ -0,0 +1,8 @@
1
<?xml version="1.0" encoding="UTF-8"?>
2
<classpath>
3
<classpathentry kind="src" path="gen"/>
4
	<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
5
	<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
6
	<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
7
	<classpathentry kind="output" path="bin/classes"/>
8
</classpath>

+ 0 - 1
ipu-mail/AndroidManifest.xml

@ -17,7 +17,6 @@
17 17
    
18 18
    <application 
19 19
        android:allowBackup="true"
20
        android:icon="@drawable/ic_launcher"
21 20
        android:label="@string/app_name"
22 21
        android:theme="@style/AppTheme">
23 22
        <activity 

+ 3 - 1
ipu-mail/project.properties

@ -12,4 +12,6 @@
12 12
13 13
# Project target.
14 14
target=android-22
15
android.library=false
15
android.library=true
16
android.library.reference.1=../wade-mobile-lib
17
android.library.reference.2=../wade-mobile-common

BIN
ipu-mail/res/drawable-mdpi/ic_launcher.png


+ 0 - 13
ipu-mail/src/com/ai/ipu/mail/MainActivity.java

@ -1,29 +1,16 @@
1 1
package com.ai.ipu.mail;
2 2
3
import java.io.File;
4
import java.io.InputStream;
5
6
import javax.mail.event.TransportEvent;
7
8
import com.ai.ipu.mail.R;
9
import com.ai.ipu.mail.func.MailSender;
10 3
import com.ai.ipu.mail.func.MyTransportStateListenerImp;
11
import com.ai.ipu.mail.func.SenderRunnable;
12
import com.ai.ipu.mail.func.MailSender.OnTransportStateListener;
13 4
import com.ai.ipu.mail.util.LoadPictureUtils;
14 5
import com.ai.ipu.mail.util.ShareUtil;
15 6
import com.ai.ipu.mobile.app.ApplicationManager;
16
import com.ai.ipu.mobile.res.assets.AssetsUtil;
17 7
import android.annotation.SuppressLint;
18 8
import android.app.Activity;
19 9
import android.app.AlertDialog;
20 10
import android.content.Intent;
21 11
import android.content.SharedPreferences;
22
import android.content.res.AssetManager;
23
import android.graphics.BitmapFactory;
24 12
import android.net.Uri;
25 13
import android.os.Bundle;
26
import android.os.Environment;
27 14
import android.text.TextUtils;
28 15
import android.view.View;
29 16
import android.view.View.OnClickListener;

BIN
ipupathmenu-lib/res/drawable-hdpi/ic_launcher.png


wade-mobile-common/libs/wade-mobile.jar → wade-mobile-common/libs/wade-mobile.jar.bak