Linux learning experience Linux under the installation and use of ant1. Preface2. Ant Installation3. Simple Ant InstanceFirst, prefaceThis blog post records the installation and use of Ant under LinuxThis article is based on the following articles:Http://www.linuxidc.com/Linux/2013-08/88955.htm (Installation and configuration of
ObjectiveZookeeper is Yahoo's. Use ant for software building.A journey begins with a journey. To see the source of the first step is to download the source code and import an IDE tool.Anthttp://ant.apache.org/Windows:Download ant, Extract to hard disk, such as C:\Work\apache-ant-1.9.7, add ant_home=c:\work\apache-ant-1
Ant hillstime limit:2000msmemory limit:32768kbthis problem'll be judged onLightoj. Original id:106364-bit integer IO format: %lld Java class name: Main After many years of peace, an Ant-war have broken out.In the days leading the outbreak of war, the ant government devoted a great deal of resources toward gathering Intel Ligence on
As for ant and how to use ant for Android automatic compilation, it is difficult to find the appropriate materials during the course of learning.
After my personal study of ant, I have compiled the following documents, which may be helpful for your study.
Related books and PDF:
Ant getting started and advanced
Tip
1. Download
mkdir /opt/ant
cd /opt/ant
wget http://mirror.bit.edu.cn/apache//ant/binaries/apache-ant-1.9.4-bin.tar.gz
2. Decompression
cd /opt/ant
tar -zxvf apache-ant-1.9.4-bin.
January, 2004
"ants are angry."Read the notes of Steve Loughran's "Ant in Anger" article. ^_^
The name and content of the top-level goal suggested by Steve.
The name of the target
Content
Build
Building Application Systems
Test
Running JUnit tests
Clean
Empty the Output directory
Deploy
Loading files such as jar or war into the execution system
Publish
Out
1
.
Subversion
OverviewIf you start by referencing Version Control with subversion:"
If C gives you enough rope to hang yourself, think of subversion as a sort of rope storage facility.
"
-Brian W. FitzpatrickThen tell everyone that CVS is old love, and subversion is new love. The characteristics and advantages of several subversions are illustrated by the following. Take a look at how to use subversion and related client software on the Internet. Official free books are good.
2
# Include
# Include # Include
# Include Using namespace std;
Const int iAntCount = 34; // Number of antsConst int iCityCount = 51; // number of citiesConst int iItCount = 2000; // The maximum number of times of downgradingConst double q= 100;Const double alpha = 1;Const double beta = 5;Const double rou = 0.5;
Int besttour [iCityCount]; // The list of most available paths
Double rnd (int low, double uper) // obtain a random number{Double p = (rand ()/(double) RAND_MAX) * (uper)-(low) + (low );R
First, install AntTo the official homepage http://ant.apache.org Download the new version (currently Ant1.8.1) ant, get a apache-ant-1.8.1-bin.zip compression package. Unzip it to your hard drive, for example: C:\apache-ant-1.8.1.Second, configure environment variablesSet the ANT environment variable in window:Ant_home
Install and configure ANT in ubuntu 1. you can use sudoapt-getinstallant to install it, but this method is not good. First, install ant instead of the latest version, and then install a bunch of other accompanying things. So I only need to manually install it with ant. II. manually install... install and configure ANT
First, Ant pre-preparation
Download Ant
http://ant.apache.org/manualdownload.cgiNote:/ant-contrib-1.0b3.jar needs to be downloaded separately (http://sourceforge.net/projects/ant-contrib/)2. Configure environment variables (skip)Ii. adding ANT build support for
There is a 27 cm fine wood pole, each of which has an ant in the five positions 3 cm, 7 cm, 11 cm, 17 cm, 23 cm. The wooden pole is very small and cannot pass through an ant at the same time. At the beginning, the head of the ant financial system is either left or right. They only move forward or turn their heads, but do not move back. When any two ants meet, the
Since java, javac, jar and other tools are used for compilation and packaging, which is cumbersome, inefficient, and error-prone, Ant has emerged.
Ant is designed to package and compile java code. You have to learn a little before using it. Ant runs mainly on the configuration file (XML format), which is usually named build. xml.
Install Java JDK and JRE before u
question: There is a 27 cm fine wood rod, in the 3rd centimeter, 7 cm, 11 cm, 18 cm, 23 cm, each of the five positions have an ant. The wooden rod is very thin and cannot pass through two ants at the same time. At first, the ants head to the left or to the right is arbitrary, they will only go forward or turn around, but will not retreat. When any two ants meet, two ants will turn around in the opposite direction at the same time. Suppose the ants can
Although Eclipse has inherited the ant plug-in from 3.0, it is not very useful to have a project that can be built automatically, but manually use the followingAnt to build its own Java project is also a meaningful thing, although now no one is using Javac Java command Line way to do the program ....Ant is a tool under the Apache Fund project, and the official Apache explanation is a Java library and comman
Apache cxf:an open-source Services FrameworkThe Apache CXF is an open Source services framework. CXF helps you to build and develop services using frontend programming APIs, like Jax-ws and Jax-rs. These services can speak a variety the protocols such as SOAP, Xml/http, RESTful HTTP, or CORBA and work over a variety of Transports such as HTTP, JMS or JBI.
Apache CXF Website: Click to open the link
Apache Ant download Address: Click to open link Ap
Background information
RCP Introduction
RCP (Rich-client Platform), an Open-source technology framework based on Eclipse, provides developers with a rich set of components to build an application that avoids heavy development tasks from scratch, enabling rapid application development. Developers can get rid of the boring interface layout and other development work by putting more effort into business component development. At the same time, RCP can make it easier for developers who have never
Walking Ant time Limit:2 Seconds Memory limit:65536 KB Ants is quite diligent. They sometimes build their nests beneath flagstones.
Here, an ant was walking in a rectangular area tiled with square flagstones, seeking the only hole leading to her nest.
The ant takes exactly one second to move from one flagstone to another. That is, if the
How does Ant package third-party JAR packages used by the UIAutomator project, antuiautomator
This article mainly describes the various problems encountered in the normal packaging method when a third-party Jar package is referenced in the UIAutomator project, as well as the Final Solution ideas and methods.1. Origin
The jar package of the unit test framework hamcrest is referenced in my example project. The following problems occur when
Learn about Ant's notes, according to the official web site exampleThe results of the operation are as follows:[Email protected]_test apache-ant-1.9.7]# bin/ant-f/home/huang/test/build.xmlBuildFile:/home/huang/test/build.xmlPrint-dir:[Echo] Name:jojo project:ant-project-----"${ant.project.name}, System variableBUILD SuccessfulTotal time:0 secondsIn the example above, the user has set a property named Name,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.