David Alston - 2008-10-21

since there isn't any other forums here, I'll post this issue here..

I tried running the "check-dependencies.sh" script and was thrilled at how smart it was.. downloading dependencies for me and trying to compile them...

the filenames it downloads needs to be updated, however.. I haven't finished debugging it (and may never finish) but here is a diff showing the changes I've made to update the filenames (vi is great!)

---begin diff---# diff build.xml.orig  build.xml                                                                                                                                                                                                                         <       <property name="commons-dbcp-1.2.1.zip" value="http://www.apache.org/dist/jakarta/commons/dbcp/binaries/commons-dbcp-1.2.1.zip" />---                                                                                                                                       >       <property name="commons-dbcp-1.2.2.zip" value="http://www.apache.org/dist/jakarta/commons/dbcp/binaries/commons-dbcp-1.2.2.zip" />                                                                                                                                     <       <property name="commons-collections-3.1.zip" value="http://www.apache.org/dist/jakarta/commons/collections/binaries/commons-collections-3.1.zip" />---                                                                                                                                                        >       <property name="commons-collections-3.2.1-bin.zip" value="http://www.apache.org/dist/jakarta/commons/collections/binaries/commons-collections-3.2.1-bin.zip" />                                                                                                                                                            <       <property name="commons-lang-2.2.zip" value="http://www.apache.org/dist/jakarta/commons/lang/binaries/commons-lang-2.2.zip" />                                 <       <property name="commons-cli-1.0.zip" value="http://www.apache.org/dist/jakarta/commons/cli/binaries/cli-1.0.zip" />                                            ---                                                                                                                                                                    >       <property name="commons-lang-2.3.zip" value="http://www.apache.org/dist/jakarta/commons/lang/binaries/commons-lang-2.3.zip" />                                 >       <property name="commons-cli-1.1.zip" value="http://www.apache.org/dist/jakarta/commons/cli/binaries/cli-1.1.zip" />                                                                                                                                                                                                              <               <antcall target="check-commons-dbcp-1.2.1" />                                                                                                          ---                                                                                                                                                                    >               <antcall target="check-commons-dbcp-1.2.2" />                                                                                                                                                                                                                                                                      <               <antcall target="check-commons-collections-3.1" />                                                                                                     <               <antcall target="check-commons-lang-2.2" />                                                                                                            <               <antcall target="check-commons-cli-1.0" />                                                                                                             ---                                                                                                                                                                    >               <antcall target="check-commons-collections-3.2.1-bin.zip" />                                                                                           >               <antcall target="check-commons-lang-2.3" />                                                                                                            >               <antcall target="check-commons-cli-1.1" />                                                                                                                                                                                                                                                                     <       <target name="check-commons-dbcp-1.2.1">                                                                                                                       <                       <echo message="Testing commons-dbcp-1.2.1" />                                                                                                  <                       <condition property="commons-dbcp-1.2.1">                                                                                                      <                               <available file="${server.lib}/commons-dbcp-1.2.1.jar" />                                                                              ---                                                                                                                                                                    >       <target name="check-commons-dbcp-1.2.2">                                                                                                                       >                       <echo message="Testing commons-dbcp-1.2.2" />                                                                                                  >                       <condition property="commons-dbcp-1.2.2">                                                                                                      >                               <available file="${server.lib}/commons-dbcp-1.2.2.jar" />                                                                                                                                                                                                                                      <                       <antcall target="prepare-commons-dbcp-1.2.1" />                                                                                                <                       <antcall target="assert-commons-dbcp-1.2.1" />                                                                                                 ---                                                                                                                                                                    >                       <antcall target="prepare-commons-dbcp-1.2.2" />                                                                                                >                       <antcall target="assert-commons-dbcp-1.2.2" />                                                                                                                                                                                                                                                         <       <target name="prepare-commons-dbcp-1.2.1" unless="commons-dbcp-1.2.1">                                                                                         <               <echo message="Preparing commons-dbcp-1.2.1" />                                                                                                        <               <condition property="commons-dbcp-1.2.1.downloaded">                                                                                                   <                       <available file="${server.download}/commons-dbcp-1.2.1.zip" />                                                                                 ---                                                                                                                                                                    >       <target name="prepare-commons-dbcp-1.2.2" unless="commons-dbcp-1.2.2">                                                                                         >               <echo message="Preparing commons-dbcp-1.2.2" />                                                                                                        >               <condition property="commons-dbcp-1.2.2.downloaded">                                                                                                   >                       <available file="${server.download}/commons-dbcp-1.2.2.zip" />                                                                                                                                                                                                                                         <               <antcall target="download-commons-dbcp-1.2.1" />                                                                                                       <               <unzip src="${server.download}/commons-dbcp-1.2.1.zip" dest="${server.download}">                                                                      ---                                                                                                                                                                    >               <antcall target="download-commons-dbcp-1.2.2" />                                                                                                       >               <unzip src="${server.download}/commons-dbcp-1.2.2.zip" dest="${server.download}">                                                                                                                                                                                                                                      <               <copy tofile="${server.lib}/commons-dbcp-1.2.1.jar" file="${server.download}/commons-dbcp-1.2.1/commons-dbcp-1.2.1.jar" />                             ---                                                                                                                                                                    >               <copy tofile="${server.lib}/commons-dbcp-1.2.2.jar" file="${server.download}/commons-dbcp-1.2.2/commons-dbcp-1.2.2.jar" />                                                                                                                                                                                     <       <target name="download-commons-dbcp-1.2.1" unless="commons-dbcp-1.2.1.downloaded">                                                                             <               <echo message="Downloading commonds-dbcp-1.2.1" />                                                                                                     <               <get ignoreerrors="true" dest="${server.download}/commons-dbcp-1.2.1.zip" src="${commons-dbcp-1.2.1.zip}" />                                           ---                                                                                                                                                                    >       <target name="download-commons-dbcp-1.2.2" unless="commons-dbcp-1.2.2.downloaded">                                                                             >               <echo message="Downloading commonds-dbcp-1.2.2" />                                                                                                     >               <get ignoreerrors="true" dest="${server.download}/commons-dbcp-1.2.2.zip" src="${commons-dbcp-1.2.2.zip}" />                                                                                                                                                                                                   <       <target name="assert-commons-dbcp-1.2.1" if="commons-dbcp-1.2.1">                                                                                              <               <echo message="commons-dbcp-1.2.1 OK" />                                                                                                               ---                                                                                                                                                                    >       <target name="assert-commons-dbcp-1.2.2" if="commons-dbcp-1.2.2">                                                                                              >               <echo message="commons-dbcp-1.2.2 OK" />                                                                                                                                                                                                                                                                       <       <target name="check-commons-collections-3.1">                                                                                                                  <               <echo message="Testing commons-collections-3.1" />                                                                                                     <               <condition property="commons-collections-3.1">                                                                                                         <                       <available file="${server.lib}/commons-collections-3.1.jar" />                                                                                 ---                                                                                                                                                                    >       <target name="check-commons-collections-3.2.1-bin.zip">                                                                                       {server.lib}/commons-collections-3.2.1-bin.zip.jar---{server.download}/commons-collections-3.1.zip---{server.download}/commons-collections-3.2.1-bin.zip{server.download}/commons-collections-3.1.zip{server.download}---{server.download}/commons-collections-3.2.1-bin.zip{server.download}{server.lib}/commons-collections-3.1.jar{server.download}/commons-collections-3.1/commons-collections-3.1.jar---{server.lib}/commons-collections-3.2.1-bin.zip.jar{server.download}/commons-collections-3.2.1-bin.zip/commons-collections-3.2.1-bin.zip.jar---{server.download}/commons-collections-3.1.zip{commons-collections-3.1.zip}---{server.download}/commons-collections-3.2.1-bin.zip{commons-collections-3.2.1-bin.zip}---{server.lib}/commons-lang-2.2.jar---{server.lib}/commons-lang-2.3.jar---{server.download}/commons-lang-2.2.zip---{server.download}/commons-lang-2.3.zip{server.download}/commons-lang-2.2.zip{server.download}---{server.download}/commons-lang-2.3.zip{server.download}{server.lib}/commons-lang-2.2.jar{server.download}/commons-lang-2.2/commons-lang-2.2.jar---{server.lib}/commons-lang-2.3.jar{server.download}/commons-lang-2.3/commons-lang-2.3.jar{server.download}/commons-lang-2.2.zip{commons-lang-2.2.zip}---{server.download}/commons-lang-2.3.zip{commons-lang-2.3.zip}---{server.lib}/commons-cli-1.0.jar---{server.lib}/commons-cli-1.1.jar---{server.download}/commons-cli-1.0.zip---{server.download}/commons-cli-1.1.zip{server.download}/commons-cli-1.0.zip{server.download}---{server.download}/commons-cli-1.1.zip{server.download}{server.lib}/commons-cli-1.0.jar{server.download}/commons-cli-1.0/commons-cli-1.0.jar---{server.lib}/commons-cli-1.1.jar{server.download}/commons-cli-1.1/commons-cli-1.1.jar{server.download}/commons-cli-1.0.zip{commons-cli-1.0.zip}---{server.download}/commons-cli-1.1.zip{commons-cli-1.1.zip}---\ No newline at end of file------end diff---

klzzwxh:25490wonderfulklzzwxh:25491 tool.. but it is going to need to be updated to work.. I still get errors when it gets to the build stage..