- 浏览: 13923 次
- 性别:
- 来自: 深圳
最新评论
一、项目需求:
压缩js及css项目,打包到Andrid工程assets目录下,在移动端提供桌面Web服务。
二、代码:
三、执行效果
压缩js及css项目,打包到Andrid工程assets目录下,在移动端提供桌面Web服务。
二、代码:
<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/xsd/maven-4.0.0.xsd"> <modelversion>4.0.0</modelversion> <groupid>com.fulan.app</groupid> <artifactid>SparkWebServer</artifactid> <packaging>war</packaging> <version>1.0</version> <name>SparkWebServer</name> <url>http://maven.apache.org</url> <dependencies/> <build> <plugins> <plugin> <groupid>net.alchim31.maven</groupid> <artifactid>yuicompressor-maven-plugin</artifactid> <executions> <execution> <goals> <goal>compress</goal> </goals> </execution> </executions> <configuration> <encoding>UTF-8</encoding> <nosuffix>true</nosuffix> <outputdirectory>${basedir}/target</outputdirectory> <warsourcedirectory>${basedir}/WebContent</warsourcedirectory> <aggregations> <!-- compress js to all-min.js --> <aggregation> <removeincluded>true</removeincluded> <output>${project.build.directory}/${project.build.finalName}/all-min.js</output> <includes> <include>**/jquery-ui-1.10.4.custom/js/jquery-1.10.2.js</include> <include>**/jquery-ui-1.10.4.custom/js/jquery-ui-1.10.4.custom.js</include> <include>**/jquery-ui-1.10.4.custom/js/dialog.js</include> <include>**/jquery-ui-1.10.4.custom/js/jquery.mousewheel.js</include> <include>**/jquery-ui-1.10.4.custom/js/jquery.mCustomScrollbar.js</include> <include>**/jquery-ui-1.10.4.custom/js/hoverIntent.js</include> <include>**/jquery-ui-1.10.4.custom/js/superfish.js</include> <include>**/jquery-ui-1.10.4.custom/js/jquery-ui-timepicker-addon.min.js</include> <include>**/jquery-ui-1.10.4.custom/js/*.js</include> <include>**/js/ip.js</include> <include>**/js/fixIE.js</include> <include>**/js/commands.js</include> <include>**/js/states.js</include> <include>**/js/multiMediaConstants.js</include> <include>**/js/controller.js</include> <include>**/js/common.js</include> </includes> </aggregation> <!-- compress css to all-min.css --> <aggregation> <removeincluded>true</removeincluded> <output>${project.build.directory}/${project.build.finalName}/all-min.css</output> <includes> <include>**/jquery-ui-1.10.4.custom/css/*.css</include> <include>**/css/common.css</include> <include>**/*.css</include> </includes> </aggregation> </aggregations> </configuration> </plugin> <plugin> <groupid>com.google.code.maven-replacer-plugin</groupid> <artifactid>replacer</artifactid> <version>1.5.2</version> <executions> <execution> <id>compile1</id> <phase>compile</phase> <goals> <goal>replace</goal> </goals> <configuration> <includes> <include>target/SparkWebServer-1.0/*.js</include> <include>target/SparkWebServer-1.0/*.css</include> <include>WebContent/tabs/*/*.html</include> </includes> <outputdir>target/tmp/</outputdir> <regex>true</regex> <regexflags> <regexflag>DOTALL</regexflag> </regexflags> <replacements> <!-- move quote css/js/images to top level --> <replacement> <token/> <value/> </replacement> <replacement> <token/> <value/> </replacement> <replacement> <token/> <value/> </replacement> <replacement> <token/> <value/> </replacement> <replacement> <token/> <value/> </replacement> <replacement> <token/> <value/> </replacement> <!-- make ip and password equal undefined --> <replacement> <token/> <value/> </replacement> </replacements> </configuration> </execution> <execution> <id>compile2</id> <phase>compile</phase> <goals> <goal>replace</goal> </goals> <configuration> <includes> <include>WebContent/*.html</include> </includes> <outputdir>target/</outputdir> <regex>true</regex> <regexflags> <regexflag>DOTALL</regexflag> </regexflags> <replacements> <!-- replace css/js quote in HTML file --> <replacement> <token>]]&gt;</token> <value> <script src="all-min.js"/>]]&gt;</value> </replacement> </replacements> </configuration> </execution> </executions> </plugin> <plugin> <groupid>org.apache.maven.plugins</groupid> <artifactid>maven-antrun-plugin</artifactid> <executions> <execution> <id>compile</id> <phase>compile</phase> <configuration> <tasks> <!-- Copy css/js/html files --> <echo message="Copying web files......................................."/> <copy verbose="true" todir="../SparkMobileStb/assets"> <fileset dir="WebContent" includes="*.ico"/> <fileset dir="target/WebContent" includes="*.html"/> <fileset dir="target/tmp/target/SparkWebServer-1.0/" includes="*.js"/> <fileset dir="target/tmp/target/SparkWebServer-1.0/" includes="*.css"/> </copy> <copy verbose="true" todir="../SparkMobileStb/assets/tabs/"> <fileset dir="target/tmp/WebContent/tabs/"/> </copy> <!-- Copy image files --> <echo message="Copying image files............................."/> <copy verbose="true" todir="../SparkMobileStb/assets/images"> <fileset dir="WebContent/images" includes="*.png"/> <fileset dir="WebContent/images" includes="*.jpg"/> <fileset dir="WebContent/jquery-ui-1.10.4.custom/css/images" includes="*.png"/> <fileset dir="WebContent/jquery-ui-1.10.4.custom/css/images" includes="*.jpg"/> </copy> <echo message="Copying files End!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"/> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> <execution> <id>clean</id> <phase>clean</phase> <configuration> <tasks> <!-- clean, remove folder assets from Android project --> <echo message="Deleteing old web files......................................."/> <delete includeemptydirs="true"> <fileset dir="../SparkMobileStb/assets/"/> </delete> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>
三、执行效果
D:\Eclipse\android\SparkWebServer>mvn clean compile mvn clean compile [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.fulan.app:SparkWebServer:war:1.0 [WARNING] 'build.plugins.plugin.version' for net.alchim31.maven:yuicompressor-maven-plugin is missing. @ line 16, column 15 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building SparkWebServer 1.0 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ SparkWebServer --- [INFO] Deleting D:\Eclipse\android\SparkWebServer\target [INFO] [INFO] --- maven-antrun-plugin:1.3:run (clean) @ SparkWebServer --- [INFO] Executing tasks [echo] Deleteing old web files....................................... [INFO] Executed tasks [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ SparkWebServer --- [debug] execute contextualize [WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory D:\Eclipse\android\SparkWebServer\src\main\resources [INFO] [INFO] --- yuicompressor-maven-plugin:1.3.0:compress (default) @ SparkWebServer --- [INFO] common.css (10960b) -> common.css (8119b)[74%] [INFO] control.css (2519b) -> control.css (1977b)[78%] [INFO] dialog.css (1215b) -> dialog.css (752b)[61%] [INFO] jquery-ui-1.10.4.custom.css (10955b) -> jquery-ui-1.10.4.custom.css (7670b)[70%] [INFO] jquery-ui-timepicker-addon.min.css (746b) -> jquery-ui-timepicker-addon.min.css (735b)[98%] [INFO] jquery.mCustomScrollbar.css (10807b) -> jquery.mCustomScrollbar.css (9027b)[83%] [INFO] superfish.css (2690b) -> superfish.css (1494b)[55%] [WARNING] ...\WebContent\jquery-ui-1.10.4.custom\js\dialog.js:line -1:column -1:Try to use a single 'var' statement per scope. time:0,id:false}; ---> var options var var var var var var <span class="title">' [WARNING] ...\WebContent\jquery-ui-1.10.4.custom\js\dialog.js:line -1:column -1:Try to use a single 'var' statement per scope. :'<div class="bar"> <span class="title">'+options.title+'</span><div class="close"></div> </div>'; ---> var var var var var var var var var var var var var var var var var var var var var var startTimes var endTimes var var var var var var var var var var var var var var var var var var var var var var var var var var var timerId timerRepeatType eventType endDay repeatModes eventTypes dialog.js (10236b)[55%] [WARNING] ...\WebContent\jquery-ui-1.10.4.custom\js\hoverIntent.js:line -1:column -1:Try to use a single 'var' statement per scope. ,selector:handlerOut});}} ---> var var var var var var hoverIntent.js (1208b)[24%] [WARNING] ...\WebContent\jquery-ui-1.10.4.custom\js\jquery-1.10.2.js:line -1:column -1:Try to use a single 'var' statement per scope. .contains;})(window); ---> var var var var var var var var var var var var var jquery-1.10.2.js (107907b)[39%] [INFO] jquery-ui-1.10.4.custom.js (356814b) -> jquery-ui-1.10.4.custom.js (188007b)[52%] [WARNING] ...\WebContent\jquery-ui-1.10.4.custom\js\jquery-ui-timepicker-addon.min.js:line -1:column -1:Try to use a single 'var' statement per scope. {},overrides,i;for( ---> var var eval var var var var var <table class="ui-tpicker-grid-label"><tr>',"hour"===s){for( ---> var var ";}}else{for( ---> var </tr></table>";}d+="";} ---> var ",d+=""; ---> var var var var var var var var var e?"amNames": [WARNING] ...\WebContent\jquery-ui-1.10.4.custom\js\jquery-ui-timepicker-addon.min.js:line -1:column -1:Try to use a single 'var' statement per scope. ?new Date:i,a); ---> var var var var var s; [WARNING] ...\WebContent\jquery-ui-1.10.4.custom\js\jquery-ui-timepicker-addon.min.js:line -1:column -1:Try to use a single 'var' statement per scope. (RegExp(r,"i")); ---> var var var var var var var var var var var var var var var var var var var jquery-ui-timepicker-addon.min.js (38255b)[100%] [WARNING] ...\WebContent\jquery-ui-1.10.4.custom\js\jquery.mCustomScrollbar.js:line -1:column -1:The variable options has already been declared in the same scope... {}},theme:"light"}, ---> options var var "); ---> var ");} ---> var <div class="mCSB_draggerContainer"> <div class="mCSB_dragger" style=""><div class="mCSB_dragger_bar" style=""></div></div> <div class="mCSB_draggerRail"></div> </div>"); ---> var var var var var var mCSB_containerOldSize var mCSB_containerNewSize var var var var var var =mCSB_draggerContainerH-10){ ---> var var var var var =mCSB_draggerContainerW-10){ ---> var var scrollAmount var mCSB_containerP var var var var var var var var options var var var snapAmount callbacks var var var jquery.mCustomScrollbar.js (25360b)[54%] [WARNING] ...\WebContent\jquery-ui-1.10.4.custom\js\jquery.mousewheel.js:line -1:column -1:Try to use a single 'var' statement per scope. $.event.fixHooks){for( ---> var returnValue jquery.mousewheel.js (1444b)[60%] [WARNING] ...\WebContent\jquery-ui-1.10.4.custom\js\superfish.js:line -1:column -1:Invalid hint syntax: use strict (function($){ ---> "use strict" var var var var superfish.js (4376b)[57%] [INFO] commands.js (1878b) -> commands.js (1648b)[87%] [WARNING] ...\WebContent\js\common.js:line -1:column -1:Try to use a single 'var' statement per scope. );}window.mController=mController; ---> var var var var var var var var var var var var a:eq(0)").text()); ---> var a").attr [WARNING] ...\WebContent\js\common.js:line -1:column -1:The variable group has already been declared in the same scope... "li.sfHover > a:eq(0)").text());var ---> group a").attr( [WARNING] ...\WebContent\js\common.js:line -1:column -1:Try to use a single 'var' statement per scope. ("li.sfHover > a").attr("id"); ---> var var common.js (6148b)[48%] [WARNING] ...\WebContent\js\controller.js:line -1:column -1:Try to use a single 'var' statement per scope. var url=window.location.href; ---> var var var var var var var var var controller.js (6661b)[64%] [WARNING] ...\WebContent\js\fixIE.js:line -1:column -1:Try to use a single 'var' statement per scope. log:function(){}}; ---> var fixIE.js (560b)[64%] [WARNING] ...\WebContent\js\multiMediaConstants.js:line -1:column -1:Try to use a single 'var' statement per scope. stringify(jobj);};}; ---> var multiMediaConstants.js (1107b)[68%] [INFO] states.js (400b) -> states.js (336b)[84%] [INFO] test.js (1156b) -> test.js (320b)[27%] [INFO] total input (816534b) -> output (423347b)[51%] [INFO] generate aggregation : D:\Eclipse\android\SparkWebServer\target\SparkWebServer-1.0\all-min.js [INFO] all-min.js (393253b) [INFO] generate aggregation : D:\Eclipse\android\SparkWebServer\target\SparkWebServer-1.0\all-min.css [INFO] all-min.css (29774b) [INFO] nb warnings: 211, nb errors: 0 [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ SparkWebServer --- [INFO] No sources to compile [INFO] [INFO] --- replacer:1.5.2:replace (compile1) @ SparkWebServer --- [INFO] Replacement run on 18 files. [INFO] [INFO] --- replacer:1.5.2:replace (compile2) @ SparkWebServer --- [INFO] Replacement run on 3 files. [INFO] [INFO] --- maven-antrun-plugin:1.3:run (compile) @ SparkWebServer --- [INFO] Executing tasks [echo] Copying web files....................................... [copy] Copying 6 files to D:\Eclipse\android\SparkMobileStb\assets [copy] Copying D:\Eclipse\android\SparkWebServer\target\WebContent\1.html to D:\Eclipse\android\SparkMobileStb\assets\1.html [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\favicon.ico to D:\Eclipse\android\SparkMobileStb\assets\favicon.ico [copy] Copying D:\Eclipse\android\SparkWebServer\target\WebContent\login.html to D:\Eclipse\android\SparkMobileStb\assets\login.html [copy] Copying D:\Eclipse\android\SparkWebServer\target\WebContent\index.html to D:\Eclipse\android\SparkMobileStb\assets\index.html [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\target\SparkWebServer-1.0\all-min.js to D:\Eclipse\android\SparkMobileStb\assets\all-min.js [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\target\SparkWebServer-1.0\all-min.css to D:\Eclipse\android\SparkMobileStb\assets\all-min.css [copy] Copying 16 files to D:\Eclipse\android\SparkMobileStb\assets\tabs [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\control\sentMessage.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\control\sentMessage.html [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\common\recordSetupDialog.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\common\recordSetupDialog.html [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\control\systemInf.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\control\systemInf.html [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\epg\epgMain.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\epg\epgMain.html [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\channel\channelMain.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\channel\channelMain.html [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\control\controlMain.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\control\controlMain.html [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\setting\recordSetup.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\setting\recordSetup.html [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\setting\settingMain.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\setting\settingMain.html [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\test\test.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\test\test.html [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\setting\about.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\setting\about.html [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\control\timer.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\control\timer.html [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\control\powerControl.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\control\powerControl.html [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\control\remote.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\control\remote.html [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\test\test1.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\test\test1.html [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\common\eventDialog.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\common\eventDialog.html [copy] Copying D:\Eclipse\android\SparkWebServer\target\tmp\WebContent\tabs\setting\avSetting.html to D:\Eclipse\android\SparkMobileStb\assets\tabs\setting\avSetting.html [echo] Copying image files............................. [copy] Copying 64 files to D:\Eclipse\android\SparkMobileStb\assets\images [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_vol_00.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_vol_00.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\control_remote_hl.png to D:\Eclipse\android\SparkMobileStb\assets\images\control_remote_hl.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\remote.png to D:\Eclipse\android\SparkMobileStb\assets\images\remote.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\shadow.png to D:\Eclipse\android\SparkMobileStb\assets\images\shadow.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\top_bg.png to D:\Eclipse\android\SparkMobileStb\assets\images\top_bg.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_most_view_play_hl.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_most_view_play_hl.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_fullscreen_nor.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_fullscreen_nor.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_search_01.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_search_01.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\jquery-ui-1.10.4.custom\css\images\tab_select.png to D:\Eclipse\android\SparkMobileStb\assets\images\tab_select.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\control_timer_play.png to D:\Eclipse\android\SparkMobileStb\assets\images\control_timer_play.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\control_timer_delete.png to D:\Eclipse\android\SparkMobileStb\assets\images\control_timer_delete.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\close_bar.png to D:\Eclipse\android\SparkMobileStb\assets\images\close_bar.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_menu_down.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_menu_down.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\folder_02.png to D:\Eclipse\android\SparkMobileStb\assets\images\folder_02.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_drop_down.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_drop_down.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\scrollbar_02.png to D:\Eclipse\android\SparkMobileStb\assets\images\scrollbar_02.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\jquery-ui-1.10.4.custom\css\images\ui_state_hover.png to D:\Eclipse\android\SparkMobileStb\assets\images\ui_state_hover.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_most_view_play_def.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_most_view_play_def.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\folder_close.png to D:\Eclipse\android\SparkMobileStb\assets\images\folder_close.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\control_timer_edit_hl.png to D:\Eclipse\android\SparkMobileStb\assets\images\control_timer_edit_hl.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\search_button_nor.png to D:\Eclipse\android\SparkMobileStb\assets\images\search_button_nor.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_vol_nor.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_vol_nor.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_search_00.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_search_00.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_sound_bg.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_sound_bg.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_menu_left.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_menu_left.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\control_remote_folder.png to D:\Eclipse\android\SparkMobileStb\assets\images\control_remote_folder.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_vol_hl.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_vol_hl.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_most_view_vlc_nor.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_most_view_vlc_nor.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_sound_right_hl.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_sound_right_hl.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\close.png to D:\Eclipse\android\SparkMobileStb\assets\images\close.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_most_view_timer_nor.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_most_view_timer_nor.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\tv_icon_money.png to D:\Eclipse\android\SparkMobileStb\assets\images\tv_icon_money.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\grey_bg.png to D:\Eclipse\android\SparkMobileStb\assets\images\grey_bg.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\logo.png to D:\Eclipse\android\SparkMobileStb\assets\images\logo.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\folder_01.png to D:\Eclipse\android\SparkMobileStb\assets\images\folder_01.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\epg_timer_success.png to D:\Eclipse\android\SparkMobileStb\assets\images\epg_timer_success.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_top_shadow.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_top_shadow.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_most_view_timer_hl.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_most_view_timer_hl.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_most_view_vlc_hl.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_most_view_vlc_hl.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\epg_week_bg_hl.png to D:\Eclipse\android\SparkMobileStb\assets\images\epg_week_bg_hl.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\scrollbar_01.png to D:\Eclipse\android\SparkMobileStb\assets\images\scrollbar_01.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\epg_week_bg_nor.png to D:\Eclipse\android\SparkMobileStb\assets\images\epg_week_bg_nor.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\jquery-ui-1.10.4.custom\css\images\ui_state_default.png to D:\Eclipse\android\SparkMobileStb\assets\images\ui_state_default.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\search.png to D:\Eclipse\android\SparkMobileStb\assets\images\search.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\search_hover.png to D:\Eclipse\android\SparkMobileStb\assets\images\search_hover.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\jquery-ui-1.10.4.custom\css\images\mCSB_buttons.png to D:\Eclipse\android\SparkMobileStb\assets\images\mCSB_buttons.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_fullscreen_hl.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_fullscreen_hl.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_vol_01.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_vol_01.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\control_timer_record.png to D:\Eclipse\android\SparkMobileStb\assets\images\control_timer_record.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_list_bg.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_list_bg.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\jquery-ui-1.10.4.custom\css\images\ui_icon_up.png to D:\Eclipse\android\SparkMobileStb\assets\images\ui_icon_up.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_sound_left_hl.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_sound_left_hl.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\black_bg.png to D:\Eclipse\android\SparkMobileStb\assets\images\black_bg.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_sound_left_nor.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_sound_left_nor.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\jquery-ui-1.10.4.custom\css\images\close.png to D:\Eclipse\android\SparkMobileStb\assets\images\close.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\control_timer_delete_hl.png to D:\Eclipse\android\SparkMobileStb\assets\images\control_timer_delete_hl.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\control_timer_edit.png to D:\Eclipse\android\SparkMobileStb\assets\images\control_timer_edit.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\jquery-ui-1.10.4.custom\css\images\ui_icon_down.png to D:\Eclipse\android\SparkMobileStb\assets\images\ui_icon_down.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\vcl_hover.png to D:\Eclipse\android\SparkMobileStb\assets\images\vcl_hover.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_sound_right_nor.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_sound_right_nor.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\vcl.png to D:\Eclipse\android\SparkMobileStb\assets\images\vcl.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\search_button_hl.png to D:\Eclipse\android\SparkMobileStb\assets\images\search_button_hl.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\mainmenu_logo_02.png to D:\Eclipse\android\SparkMobileStb\assets\images\mainmenu_logo_02.png [copy] Copying D:\Eclipse\android\SparkWebServer\WebContent\images\channel_drop_down_hl.png to D:\Eclipse\android\SparkMobileStb\assets\images\channel_drop_down_hl.png [echo] Copying files End!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [INFO] Executed tasks [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10.266s [INFO] Finished at: Fri Mar 28 10:08:24 CST 2014 [INFO] Final Memory: 15M/37M [INFO] ------------------------------------------------------------------------ D:\Eclipse\android\SparkWebServer></span>
相关推荐
【标题】"web的Maven工程代码.zip"指的是一个包含Web应用程序源代码的压缩文件,该文件使用Maven作为构建工具。Maven是Java开发中广泛使用的项目管理和综合工具,它帮助开发者管理依赖、构建项目以及执行自动化测试...
"maven聚合web工程--struts2+spring"这个标题表明我们正在讨论一个使用Maven构建的项目,该项目集成了Struts2和Spring这两个流行的Java Web框架。Struts2是一个用于构建 MVC(模型-视图-控制器)架构的框架,而...
总结来说,"maven聚合工程demo"是一个利用 Maven 聚合和继承机制,结合 SSH 框架构建的多模块 Java Web 应用项目。通过聚合,我们可以高效地管理多个子项目,通过继承,我们保持了配置的一致性。同时,"META-INF" 和...
标题中的“maven工程备份”可能是指对一个包含完整Maven配置和源代码的项目进行保存,以便于将来恢复或在其他环境中重新使用。为了备份Maven工程,你可以选择将整个项目目录压缩成ZIP或TAR文件,或者使用版本控制...
【标题】:“idea创建基于maven的web工程共6页.pdf.zi”指的是一个压缩文件,其中包含了关于如何在IntelliJ IDEA(简称Idea)这个集成开发环境中使用Maven构建Web应用程序的教程。该教程可能详细阐述了从零开始创建...
本教程将介绍如何使用Maven构建一个基于SSH的工程。 首先,我们需要理解Maven是什么。Maven是一个项目管理和综合工具,用于自动化构建、项目信息管理以及依赖管理。它通过一个配置文件pom.xml来管理项目的构建、...
在使用Eclipse构建Maven项目的过程中,涉及到的知识点主要集中在Eclipse集成环境配置、Maven安装与配置、m2eclipse插件的使用等方面。以下是根据提供的文件内容详细展开的知识点: 1. Eclipse-jee的安装 - Eclipse...
- 创建Web项目:同样,可以使用`mvn archetype:generate`创建Web项目,或者在Eclipse中通过New -> Dynamic Web Project并添加Maven支持。 11. **集成其他框架**:Maven项目可以轻松地与Spring、Struts、Hibernate...
- 使用Eclipse创建Maven工程,可以选择不同类型的Maven项目,如Java应用、Web应用等。 - Maven生命周期包括clean、validate、compile、test、package、install、deploy等阶段,每个阶段都有相应的命令,如`mvn ...
以下是对Maven配置、创建Web工程的详细步骤和解释。 ### Maven的配置 1. **下载Maven**:首先,你需要从Maven官网(http://maven.apache.org/download.cgi)下载最新稳定版的源码包,例如Apache Maven 3.2.2。 2....
例如,如果你将 Maven 解压缩到 C:\Program Files\Apache Software Foundation\maven-1.0.2,那么 MAVEN_HOME 应该设置为 C:\Program Files\Apache Software Foundation\maven-1.0.2。 3. 生成一个 Maven 工程 ...
2. **目录结构**:Web工程有一个标准的目录结构,包括src/main/java(存放Java源代码)、src/main/resources(存放配置文件和静态资源)、src/main/webapp(存放Web相关的资源,如HTML、CSS、JavaScript等)。...
接下来,我们可以使用git进行版本控制,jenkins进行持续集成,而tomcat作为应用服务器部署我们的Web应用程序。这个集成环境有助于团队高效协作,确保代码质量和稳定性。在实际工作中,根据项目需求,可能还需要配置...
结合这些标签,我们可以推断这个管理系统是用Java开发的,使用SpringMVC作为Web层的架构,Maven作为项目管理和构建工具,而Jetty作为应用服务器运行。这样的技术栈组合在企业级应用中非常常见,提供了高效、可维护和...
在不使用Maven的情况下,你需要手动下载CAS的源代码。你可以从CAS的官方Git仓库(如GitHub)下载最新或特定版本的源码包,通常是一个ZIP或TAR文件。 2. **解压并导入工程**: 解压缩下载的源码包,然后在Eclipse...
通过这个项目,开发者不仅可以学习到如何利用SSM框架搭建Web应用,还能掌握Maven的项目构建与管理,数据库的设计与操作,以及良好的代码注释习惯。此外,系统设计文档能帮助理解整体架构设计,提升软件工程素养。...
2. **通过已有的Web工程添加Maven支持**: - 新建一个Web工程,然后在创建过程中选择"Add Maven support"。 ### 五、项目构建与调试 - 当项目依赖的jar在本地仓库不存在时,可以通过右键点击项目,选择`Debug As ...
本示例工程是针对CXF WebServices的开发实践,旨在帮助开发者理解和掌握如何使用CXF进行Web服务的创建、部署以及调用。 首先,我们来了解一下CXF的核心概念。CXF支持两种主要的Web服务标准:SOAP(Simple Object ...
2. **在Web工程中添加Maven支持**: - 新建一个Web工程,然后在创建过程中选择`Add Maven Support`。 ### 五、Maven常用命令 - **打包**:`mvn package` - 编译源代码,运行测试,并将结果打包成指定格式(如JAR...
这个项目源代码的获取对于学习Web应用开发、熟悉Eclipse使用、理解软件工程流程以及实践Java编程都是宝贵的资源。通过分析和运行这个系统,学习者可以深入理解Web应用的架构、数据库交互、前端与后端的协作,以及...