-
Notifications
You must be signed in to change notification settings - Fork 2
/
how-to-build.txt
30 lines (24 loc) · 1.42 KB
/
how-to-build.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
How to build foxyproxy-x.x.xpi on Windows/Unix/Linux:
For instruction on setting up a development environment, see
how-to-setup-development-env.txt
This project uses ant (http://ant.apache.org) to build its targets.
Ant is a free, open-source, cross-platform java tool. No IDE is
necessary but if you want to use Eclipse (http://www.eclipse.org),
an Eclipse .project file is included.
You can either download ant from
http://ant.apache.org/bindownload.cgi or download and install Eclipse.
If you choose ant instead of Eclipse, ensure you also download a Java
Development Environment (JDK) and set appropriate ant environment
variables. Specifically, you might consider adding the ant script to your
PATH variable and exporting the ANT_HOME environment variable. If you use
Eclipse IDE, you neither have to download the JDK nor setup ant environment
variables.
You also need ant-optional JARs. For debian-based linux distributions,
see http://packages.debian.org/lenny/ant-optional. Alternatively, just add
ant-nodeps.jar to your CLASSPATH environment vairable.
The ant build script is src/build.xml. The default target, named "build",
builds the XPI in the directory ../targets.
If you want to change this directory, change the value of the target-path
property.Note that forward slashes are platform-independent in ant scripts;
they work on both windows and *nix -- providing you have appropriate
permissions on them.