File tree Expand file tree Collapse file tree 2 files changed +9
-11
lines changed
Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -12,16 +12,13 @@ Installation Instructions
1212
1313 ant build
1414
15- * go to target directory and get imapCopy.zip
16- * move it to your desired directory and decompress it
17- * Change imapCopy.sh file mode
18-
19- chmod +x imapCopy.sh
15+ * go to target/distrib folder
2016
2117#### Run as command line tool
2218* Run as a command line tool:
2319
24- ./imapCopy.sh sourceImapAccount targetImapAccount (ex: ./imapCopy.sh imap://peter:mypassword@foo.com imaps://peter%40gmail.com:myotherpasword@imap.gmail.com)
20+ ./imapCopy.sh sourceImapAccount targetImapAccount
21+ (ex: ./imapCopy.sh imap://peter:mypassword@foo.com imaps://peter%40gmail.com:myotherpasword@imap.gmail.com)
2522
2623* Run using (very basic) Gui
2724
Original file line number Diff line number Diff line change 22<project name =" ImapCopy" default =" build" basedir =" ." >
33
44 <target name =" clean" description =" Cleans the file system" >
5- <deltree dir =" ${ basedir } /target/" />
5+ <delete dir =" ${ basedir } /target/" />
66 </target >
77
88 <target name =" target/classes" >
2525
2626 <target name =" distrib" depends =" imapCopy.jar" >
2727
28- <mkdir dir =" ${ basedir } /target/imapCopy " />
28+ <mkdir dir =" ${ basedir } /target/distrib " />
2929
30- <copy todir =" ${ basedir } /target/imapCopy " >
30+ <copy todir =" ${ basedir } /target/distrib " >
3131 <fileset dir =" ${ basedir } /src/etc" />
3232 <fileset dir =" ${ basedir } /target" >
3333 <include name =" imapCopy.jar" />
3939 <include name =" *.jar" />
4040 </fileset >
4141 </copy >
42+
43+ <chmod dir =" ${ basedir } /target/distrib" includes =" *.sh" perm =" +x" ></chmod >
4244
4345 <zip destfile =" ${ basedir } /target/imapCopy.zip" >
4446 <fileset dir =" ${ basedir } /target/" >
45- <include name =" imapCopy /**" />
47+ <include name =" distrib /**" />
4648 </fileset >
4749 </zip >
4850
49- <deltree dir =" ${ basedir } /target/imapCopy" />
5051 </target >
5152
5253 <target name =" build" description =" Builds the app" depends =" distrib" />
You can’t perform that action at this time.
0 commit comments