|
|||||||||
Monday the 23rd of November, 2009 |
|||||||||
struts most recent diffversion 1.2.7
Scroll down toward the bottom of the page to get installation instructions for struts. The raw portfile for struts 1.2.7 is located here: http://struts.darwinports.com/dports/java/struts/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/struts The struts Portfile 35275 2008-03-23 15:54:42Z jberry PortSystem 1.0 Name: struts Version: 1.2.7 Category: java Maintainers: jberry openmaintainer Platform: darwin Description: Apache Struts Framework. Long Description: Struts is a framework for writing Java web applications, based on the model-view-controller paradigm. Homepage: http://struts.apache.org/ distname ${name}-${version}-src Master Sites: http://archive.apache.org/dist/struts/struts-${version}/ #master_sites apache:struts/source/ Checksums: md5 c6665758e2a3345d307a9b975b030543 depends_build bin:ant:apache-ant depends_lib bin:java:kaffe port:commons-beanutils port:commons-collections port:commons-digester port:commons-fileupload port:commons-lang port:commons-logging port:commons-validator port:jakarta-oro port:servlet23-api port:antlr port:jakarta-taglibs-standard-11 use_configure no set javaLibs ${prefix}/share/java post-extract { file mkdir ${worksrcpath}/contrib ${worksrcpath}/lib } build { # Build Struts system "cd ${worksrcpath} && CLASSPATH=${javaLibs}/commons-digester-rss.jar ant dist -Dcommons-beanutils.jar=${javaLibs}/commons-beanutils.jar -Dcommons-collections.jar=${javaLibs}/commons-collections.jar -Dcommons-digester.jar=${javaLibs}/commons-digester.jar -Dcommons-fileupload.jar=${javaLibs}/commons-fileupload.jar -Dcommons-lang.jar=${javaLibs}/commons-lang.jar -Dcommons-logging.jar=${javaLibs}/commons-logging.jar -Dcommons-validator.jar=${javaLibs}/commons-validator.jar -Djakarta-oro.jar=${javaLibs}/jakarta-oro.jar -Dservlet.jar=${javaLibs}/servlet23-api.jar -Dantlr.jar=${javaLibs}/antlr.jar " # Extract tld files from standard.jar, needed by struts-el set tld_dir ${workpath}/tld file mkdir ${tld_dir} system "cd ${tld_dir} && jar xf ${javaLibs}/standard.jar META-INF" # Build Struts-EL system "cd ${worksrcpath}/contrib/struts-el && ant dist -Dservlet.jar=${javaLibs}/servlet23-api.jar -Djstl.tld.dir=${tld_dir}/META-INF -Djstl.jar=${javaLibs}/jstl.jar -Djstl-standard.jar=${javaLibs}/standard.jar -Dcommons-beanutils.jar=${javaLibs}/commons-beanutils.jar " } destroot { xinstall -m 755 -d ${destroot}${prefix}/share/java file copy ${worksrcpath}/dist ${destroot}${prefix}/share/java/${name} xinstall -m 755 -d ${destroot}${prefix}/share/java/${name}/contrib file copy ${worksrcpath}/contrib/struts-el/dist ${destroot}${prefix}/share/java/${name}/contrib/struts-el } If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/strutsYou will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using struts with these commands: % man struts Where to find more information:
|
![]() |
![]()
Order Snow Leopard MacOSX 10.6 for only $29!
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
accounting
amusements aqua archivers audio benchmarks biology blinkenlights cad chat chinese comms compression cross crypto databases devel editors education electronics emacs emulators erlang finance fonts framework fuse games genealogy gis gnome gnustep graphics gtk haskell iphone irc japanese java kde kde4 lang macports math mercurial ml mono multimedia net network news ocaml office palm parallel perl php pim project python reporting rox ruby russian scheme science security shells spelling squeak sysutils tcl tex textproc tk unicode vnc win32 wsn www x11 x11-font x11-wm xfce zope
Current SVN DownloadsDarwin Ports Current :nightly SVN snapshot SSH Key Gen See also: GNU-Darwin Ports for GNU-only software |
|||||||
| |




