Posts

Showing posts with the label Mac

Create a Subversion with Xcode 4

Image
Hi everybody, I just started to work with Xcode and trying to add a Subversion folder was a pain. So I decided to write about it and describe all the steps in order to help other people who have to set up a Subversion in Xcode. Note that if you don’t have any Subversion software or package installed on your Mac you can download the free Subversion Mac OS X package . STEP 1: Open Xcode and click Connect to a repository. STEP 2: Enter the location path of your Subversion file. Example: https://66.127.107.22:8444/svn/test - if your Subversion is on a Microsoft server you will notice that Xcode will tell you that the “Host is not reachable.” That is because Mac OS doesn’t recognize IP addresses from Microsoft devices. You have to give a name to the IP address. For that, we need to change the host file on your computer. So open the terminal and type : sudo nano /private/etc/host It will ask you your password. Now you’re at the file. You can see that there i...

Configuring Xcode to use Subversion

Image
Whether you are a new Apple developer or an experienced Cocoa engineer with roots in NeXTStep,  you will understand the need to back up your hard work. Integrating Xcode with subversion not only allows you to back up your code, but it also enables you to keep a history of changes that you can revert back to or compare your code against. This is called version control. This article assumes that you already have your own subversion repository that you have read and write access to. If you want to setup a subversion server of your own, I suggest consulting the almighty google for a wide range of articles on how to accomplish this task. Read on for screenshots, details and lots of fun. Step 1) Tell Xcode about your repository.      Xcode has the ability to communicate with subversion using native svn communication, ssh+svn, http and https. The most popular of the various methods is https which allows you to save your data over an enc...

Install Tomcat with Eclipse

Image
Howto install Tomcat with Eclipse IDE on MacOS X. What we need: Tomcat Eclipse JEE 1. Extract Eclipse into your Applicationfolder and Tomcat to your prefered location for example into your home directory. 2. change into the apache-tomcat-6.0.20/bin directory and make all .sh files executeable cd <pathtoyourtomcat>/apache-tomcat-6.0.20/bin chmod +x *.sh 3. test if it starts ./setclasspath.sh ./startup.sh something like this should appear: ./startup.sh Using CATALINA_BASE:   apache-tomcat-6.0.20 Using CATALINA_HOME:   apache-tomcat-6.0.20 Using CATALINA_TMPDIR: apache-tomcat-6.0.20/temp Using JRE_HOME:       /System/Library/Frameworks/JavaVM.framework/Home 4. Test you tomcat installation via your Browser http://localhost:8080/ if everything works like expected shut the tomcat instance down ./shutdown.sh 5. Now we add Tomcat to our Eclipse environment Double click on the server an...

eclipse server locations disabled and need to change to use tomcat installation

Question: I Have set up a dynamic web project in eclipse with a tomcat 5.5 installation. I want to be to set the server to us the tomcat installation instead of the workspace metadata location but when eclipse displays the Overview screen for the server the Server locations section is disabled and therefore I am unable to change it. The overview screen is displayed when you have the servers view open and you then double click on the server. Is it possible to enable this part of the Overview screen or hack a config file to point at the tomcat installation? Answer 1: Here is how I did it: Right click on my tomcat server in "Servers" view, select "Properties…" In the "General" panel, click on the "Switch Location" button The "Location: [workspace metadata]" bit should have been replaced by something else. Open (or close and reopen) the Overview screen for the server.

How to use Java if it's been blocked in Firefox for Mac or Windows

Image
Activate Java once When you see the "Click here to activate" message, simply click it to load the Java content normally. Note: The next time you visit the site or any other that uses Java you will see this message again. Always activate Java for a site If you have a trusted site that uses Java and you need to use that site often, you can make Java work normally on just that website. Click the red plugin icon in the address bar and a message window will open. At the bottom of the message window, click the Activate All Plugins dropdown menu and choose Always activate plugins for this site . Now, whenever you visit this site, the plugin will automatically run and you won't get the "Click to activate" message.

I can't find firefox to enable Java on my Mac

Image
Question:     I just got a new Macbook Pro and have noticed that I cannot access any sites that use java in Firefox. I have verified that I do have the latest Java installed and it works fine in safari, and when I do a software update there is nothing to update. I tried to go into the preferences to see if there is a checkbox to enable it, but there is nothing there, just for javascript - but I need Java. How can I get firefox to recgonize that I have Java and work? I do also have the java plugins installed and both are enabled. This happened Every time Firefox opened == Since I've downloaded firefox last week Helpful replies I have found a solution. I re-downloaded firefox and installed it. Repoened firefox, tried again and now all works. zzxc 22 solutions 242 answers Posted 6/4/10 12:26 PM Java is enabled by default. There is no longer a c...