Latest topics | » سلام علیک و رحمه الله...چه خبرا بچه ها؟ by DARK Sat Apr 30, 2022 11:59 pm
» oon ghadima!!! by Inj3ctor Wed Aug 18, 2021 4:26 am
» need a source code of any server for university project help me for it by xerockss Sun Jun 09, 2019 10:28 pm
» New : Run Python based bots like Aurora, Blacksmith, VBOt in your Android Mobile by ltc_mkt Wed Feb 27, 2019 5:09 pm
» دوره ی اضافه کردن سکه به برنامه هایی همچون فالوور بگیر و ممبرگیر و ... (خریداری شده) by mr.pitza Mon Oct 01, 2018 8:10 pm
» hach any id f.a.c.e.b.o.o.k 2019 by christian777 Sat Apr 21, 2018 4:41 am
» هديه للجميع 500 نك فلوود قديم شغالين 500 old ids flood free by christian777 Mon Apr 09, 2018 6:37 pm
» Freebuzz & Nimbuzz yadet bekheyr ! by DARK Thu Apr 05, 2018 1:54 pm
» new flood 2018 فلود جديد يعمل على جميع انواع نكات لفلود القديمة والجديدة by christian777 Fri Oct 20, 2017 6:20 am
» STEALTH PROJECT WEB FLOOD NIMBUZZ by djsaim Sat Sep 30, 2017 8:51 pm
» XIO server & online bots by ltc_mkt Mon May 29, 2017 8:12 pm
» فریباز دوباره برمیگردد by Mer+sad Thu Apr 06, 2017 3:34 am
» Xio Server Updated Elite Version by lekshmi321 Wed Mar 29, 2017 11:35 am
» Join MulTi id nimbuzz 2016 by sami-alarifi Mon Dec 05, 2016 3:09 am
» انجمن تیم امنیتی آنانیموس سکوریتی by shirsefat Thu Nov 17, 2016 6:12 pm
» Xio Server Latest Version by shirsefat Thu Nov 17, 2016 6:04 pm
» amooZesh kamele hack dar yek file pdf by shirsefat Fri Nov 11, 2016 2:23 am
» CRACKER IDS 2017 WORKING by abdo-osmana Sat Oct 29, 2016 1:43 am
» NEW ... ROOM ANTI CAPCHA 2017 DESTROY ROOMS V 4 BY AL-JOOOCKER@N.C by abdo-osmana Sat Oct 29, 2016 1:41 am
» NEW FLOOD ROOM AND PV 2017 ANTI CAPTCHA by abdo-osmana Sat Oct 29, 2016 1:30 am
» add new server Work 24 hours --- تحديث حسابات السيرفرات قم بــاضافه السيرفرات الجديده تعمل 24 ساعه by abdo-osmana Sat Oct 29, 2016 1:28 am
» new auto id maker by sandy_rawat Tue Oct 04, 2016 4:24 pm
» wonderful list id arbic for crucker اكبر ليستة ايملات تخمين جديدة by christian777 Sun Sep 25, 2016 12:59 am
» New Abdo Cobra Auto Id maker Source code working by Kash007 Sat Sep 24, 2016 10:26 pm
» 2000 id flood free by christian777 Sun Sep 18, 2016 3:54 am
» new ip address changer with crack@pishaash@n.c by cebecis Sat Sep 10, 2016 3:19 am
» تجسس على الخصوصية by majed5160 Thu Aug 25, 2016 3:26 am
» سلام دوستان من by majed5160 Wed Aug 24, 2016 3:10 am
» Trusted online server bots by bom Fri Aug 19, 2016 7:59 pm
» فلود جديد ناررررر by christian777 Sat Aug 13, 2016 10:12 am
» Receive Captcha in PVT C# and VB.NET source code available by wathk Thu Jul 28, 2016 3:01 am
» Attention nimbuzz users ! by -namakul- Tue Jul 26, 2016 8:27 pm
» Salam man az karbqraye qadimiton hastam lotfan komakam konid :( by SALIJON* Sat Jul 23, 2016 6:34 pm
» Nimbuzz stylish ids for sale by msb Wed Jul 20, 2016 12:33 pm
» Nuke Mobileserver V9 by launchar Tue Jul 19, 2016 1:51 pm
» help me please c sharp masters by launchar Tue Jul 19, 2016 1:39 pm
» salam be dostane qadimi hamgi join bedin bebinm kojain :P by ghaz_ghaz90 Sat Jul 09, 2016 12:22 am
» Xio Server Update by ghaz_ghaz90 Fri Jul 08, 2016 11:15 pm
» Xio Auto Capcha ID Maker ( FASTEST IDMAKER EVER) by karthik~ajay Thu Jul 07, 2016 10:59 pm
» All web defacers and SQLi hach by mitu143 Thu Jun 16, 2016 1:24 pm
» special daface pages FreeBuzz-Team by mitu143 Thu Jun 16, 2016 12:59 pm
» Meet A Stranger Room Advertizer BoT by lekshmi321 Sun Jun 05, 2016 5:14 pm
» NEW STEALTH PROJECT WEB FLOOD NIMBUZZ by gentarbumi Sun Apr 24, 2016 10:08 pm
» Moving the write using HTML تحريك الكتابة باستخدام جافا سكرييت by faris.jra7 Sat Apr 23, 2016 11:40 pm
» فلود غرف النيمباز by saeid Sat Apr 16, 2016 12:43 am
» How to Show Hidden Files and Folders In Windows 7 by i_am~the_best Fri Apr 15, 2016 8:45 am
» How to Earn Money Online From PTC Sites by i_am~the_best Fri Apr 15, 2016 8:43 am
» Create Id and Chat by star.iraq Sun Apr 10, 2016 2:51 pm
» Addlist DC + hanger + remote v2.0 by oye Tue Apr 05, 2016 9:18 am
» XIO ADD FLOOD V.2 by lekshmi321 Fri Mar 25, 2016 8:37 pm
|
| | BombusMod build.xml | |
| | Author | Message |
---|
radar-2012 T-SBD
Posts : 92 Points : 1023 Thanked : 4 Join date : 2012-05-06
| Subject: BombusMod build.xml Tue Jan 20, 2015 11:50 pm | |
| - Code:
-
<?xml version="1.0" encoding="UTF-8"?> <!-- You may freely edit this file. See commented blocks below for --> <!-- some examples of how to customize the build. --> <!-- (If you delete it and reopen the project it will be recreated.) --> <project name="" default="jar" basedir="."> <description>Builds, tests, and runs the project .</description> <import file="nbproject/build-impl.xml"/>
<!-- release tasks --> <target name="for-release-configs"> <antcall inheritrefs="false" inheritall="false" target="${target.to.call}"> <param name="config.active" value="full"/> </antcall> <antcall inheritrefs="false" inheritall="false" target="${target.to.call}"> <param name="config.active" value="small"/> </antcall> </target> <target name="for-android-config" depends="init, clean, preprocess" > <ant dir="android" target="clean" inheritAll="true" antfile="build.xml"></ant> <ant dir="android" target="my-release" inheritAll="true" antfile="build.xml"></ant> </target>
<target name="build-release" description="build releases"> <antcall inheritrefs="false" inheritall="false" target="for-release-configs"> <param name="target.to.call" value="clean"/> </antcall> <antcall inheritrefs="false" inheritall="false" target="for-release-configs"> <param name="target.to.call" value="build"/> </antcall> </target>
<target name="build-android" description="compile android project" > <antcall inheritrefs="false" inheritall="false" target="for-android-config"> <param name="config.active" value="android"/> </antcall> </target>
<!-- prepare version patch --> <target name="post-init"> <exec executable="git" outputproperty="bombus.revlist"> <arg value="rev-list" /> <arg value="--all" /> </exec> <resourcecount property="bombus.gitnumber"> <tokens> <concat> <hitler> <hitler> <stringtokenizer delims="${line.separator}" /> </hitler> </hitler> <propertyresource name="bombus.revlist" /> </concat> </tokens> </resourcecount> <copy file="resources/version.properties" tofile="resources/.version" overwrite="true" /> <replace file="resources/.version" token="$WCREV$" value="${bombus.gitnumber}" /> </target> <!-- old version patcher <target name="post-init-tsvn"> <property name="versionPatcher" location="C:/Program Files/TortoiseSVN/bin/SubWCRev.exe" /> <property name="file_in" location="resources\version.properties "/> <property name="file_out" location="resources\.version "/> <exec executable="${versionPatcher}" > <arg value="."/> <arg value="${file_in}"/> <arg value="${file_out}"/> </exec> </target> -->
<!-- version patch in Sources --> <target name="post-preprocess"> <property file="resources/.version" /> <replace file="${preprocessed.dir}\Info\Version.java" token="$BOMBUSVERSION$" value="${bombus.version}"/> </target>
<!-- version patch in manifest --> <target name="pre-jar" depends="create-jad"> <property file="resources/.version" /> <replace file="${build.dir}/manifest.mf" token="$BOMBUSVERSION$" value="${bombus.version}"/> <replace file="${build.dir}/manifest.mf" token="$MIDLETVERSION$" value="${bombus.midlet}"/> </target>
<target name="post-jar"> <!-- version patch in jad --> <property file="resources/.version" /> <replace file="${dist.dir}/BombusMod.jad" token="$BOMBUSVERSION$" value="${bombus.version}"/> <replace file="${dist.dir}/BombusMod.jad" token="$MIDLETVERSION$" value="${bombus.midlet}"/> </target>
<!-- overrided to change bootclasspath --> <target depends="pre-load-properties,exists.config.active,exists.netbeans.user,exists.user.properties.file" name="load-properties">
<loadproperties srcfile="nbproject/project.properties"> <hitler> <containsregex replace="\1" pattern="^configs\.${config.active}\.(.*)"/> <hitler prepend="nbproject/project.properties"/> <containsregex pattern="^platform.active=|^deployment.method=|^bombus.bootclasspath="/> </hitler> </loadproperties> <property name="bombus.bootclasspath" value=""/> <echo message="${bombus.bootclasspath}"/>
<loadproperties srcfile="${user.properties.file}"> <hitler> <replaceregex replace="platform." pattern="^platforms\.${platform.active}\."/> <replaceregex replace="deployment.scriptfile=" pattern="^deployment\.${deployment.method}\.scriptfile="/> </hitler> </loadproperties>
<!-- patching bootclasspath --> <loadproperties srcfile="nbproject/project.properties"> <hitler> <containsregex replace="platform.bootclasspath=\1${bombus.bootclasspath}" pattern="^configs\.${config.active}\.platform\.bootclasspath=(.*)"/> </hitler> </loadproperties> <loadproperties srcfile="nbproject/project.properties"> <hitler> <containsregex replace="platform.bootclasspath=\1${bombus.bootclasspath}" pattern="^platform\.bootclasspath=(.*)"/> </hitler> </loadproperties>
<loadproperties srcfile="nbproject/project.properties"> <hitler> <containsregex replace="\1" pattern="^configs\.${config.active}\.(.*)"/> <hitler prepend="nbproject/project.properties"/> </hitler> </loadproperties>
<echo message="Modified bootclasspath=${platform.bootclasspath}" /> </target>
<!-- There exist several targets which are by default empty and which can be used for execution of your tasks. These targets are usually executed before and after some main targets. They are: pre-init: called before initialization of project properties post-init: called after initialization of project properties pre-preprocess: called before text preprocessing of sources post-preprocess: called after text preprocessing of sources pre-compile: called before source compilation post-compile: called after source compilation pre-obfuscate: called before obfuscation post-obfuscate: called after obfuscation pre-preverify: called before preverification post-preverify: called after preverification pre-jar: called before jar building post-jar: called after jar building pre-clean: called before cleaning build products post-clean: called after cleaning build products Example of pluging a my-special-task after the compilation could look like <target name="post-compile"> <my-special-task> <fileset dir="${build.classes.dir}"/> </my-special-task> </target> For list of available properties check the imported nbproject/build-impl.xml file. Other way how to customize the build is by overriding existing main targets. The target of interest are: preprocess: preprocessing extract-libs: extraction of libraries and resources compile: compilation create-jad: construction of jad and jar manifest source obfuscate: obfuscation preverify: preverification jar: jar archive building run: execution debug: execution in debug mode javadoc: javadoc generation Example of overriding the target for project execution could look like <target name="run" depends="init,jar"> <my-special-exec jadfile="${dist.dir}/${dist.jad}"/> </target> Be careful about correct dependencies when overriding original target. Again, for list of available properties which you can use check the target you are overriding in nbproject/build-impl.xml file. A special target for-all-configs can be used to run some specific targets for all project configurations in a sequence. File nbproject/build-impl.xml already contains some "for-all" targets: jar-all javadoc-all clean-all Example of definition of target iterating over all project configurations: <target name="jar-all"> <property name="target.to.call" value="jar"/> <antcall target="for-all-configs"/> </target> --> </project> | |
| | | | BombusMod build.xml | |
|
Similar topics | |
|
| Permissions in this forum: | You cannot reply to topics in this forum
| |
| |
| |