You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by da...@apache.org on 2007/04/13 00:13:53 UTC

svn commit: r528253 - /incubator/wicket/branches/wicket-1.x/eclipse.sh

Author: dashorst
Date: Thu Apr 12 15:13:51 2007
New Revision: 528253

URL: http://svn.apache.org/viewvc?view=rev&rev=528253
Log:
Fixed path stuff between linux and darwin

Modified:
    incubator/wicket/branches/wicket-1.x/eclipse.sh

Modified: incubator/wicket/branches/wicket-1.x/eclipse.sh
URL: http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/eclipse.sh?view=diff&rev=528253&r1=528252&r2=528253
==============================================================================
--- incubator/wicket/branches/wicket-1.x/eclipse.sh (original)
+++ incubator/wicket/branches/wicket-1.x/eclipse.sh Thu Apr 12 15:13:51 2007
@@ -1,3 +1,11 @@
 #/bin/sh
 mvn eclipse:eclipse
-find jdk-1.4 -name .classpath -exec sed -i -e 's/org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.launching.JRE_CONTAINER\/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType\/J2SE-1.4/g' {} \;
+
+case `uname` in
+Linux)
+	find jdk-1.4 -name .classpath -exec sed -i -e "s/org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.launching.JRE_CONTAINER\/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType\/J2SE-1.4/g" {} \;
+	;;
+Darwin)
+	find jdk-1.4 -name .classpath -exec sed -i "" -e "s/org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.launching.JRE_CONTAINER\/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType\/J2SE-1.4/g" {} \;
+	;;
+esac