Click to search Andy Jarrett.co.uk RSS feed

Loading Twitter

Subversive error because a newer version is already installed

Subversive error because a newer version is already installed

After a recent update to my Eclipse install every time I restarted the application I kept getting the following screen pop up
Subversive Connector Discovery

The issue was that it didn't matter which connector I installed I got a message stating
Cannot complete the request. See the error log for details.
"Native JavaHL XXX.XXX Implementation (Optional)" will be ignored because a newer version is already installed.
"Subversive SVN Connectors" will be ignored because a newer version is already installed.

After Google not helping me I went through the About Eclipse > Installation Details and removed all references to the connectors. In the screen shot below you can see the last couple of references highlighted
Eclipse Installation Details: Subversive Connectors

With all of them removed I restarted Eclipse and was again presented with the Subversive Connector Discovery screen but this time the selected connectors installed fine.

Comments Comments (1) | Print Print | Send Send | 1865 Views

CFBuilder beta2 slowing down on Mac

After installing CFBuilder beta 2 in standalone mode I noticed that after a period of time the WindowServer service was eating up my CPU.

After a quick mention on twitter I found out @sebduggan was also having the same issue.

For anyone else getting this @sebduggan has posted a bug to the Adobe ColdFusion Bug Tracker (ID: 80249)

For the record I have gotten around the issue by installing CFBuilder as a Pluggin to a fresh copy of Eclipse

Comments Comments (0) | Print Print | Send Send | 349 Views

CFEclipse 1.3.4 released

With the annual release of Eclipse Galileo the CFEclipse team have pushed out its latest release of CFEclipse 1.3.4!.

This update brings compatibility with Eclipse 3.4 and Eclipse 3.5 along with:

  • An updated CF8 Dictionary
  • Some mild updates to the parser
  • Mark occurrences of selected words (tag/variable/method/etc)
  • Integration with Eclipse's DocShare (optional)
  • Preference for modifying the browse url on unit tests to run unit tests
Thats just the tip of the iceberg though, check out the full list here

Available from the update site get it now http://www.cfeclipse.org/update

Comments Comments (2) | Print Print | Send Send | 372 Views

My blog has moved

Please update your bookmarks and feeds for my site.

I now have a Mango Blog at:

http://www.andyjarrett.com/blog

Feed URL: http://feeds.feedburner.com/andyjarrett

Comments Comments (0) | Print Print | Send Send | 1261 Views

Fridays Joke: The Blackboard

Another Friday has come around. Its been a long but good week for me, i've been on a 5 day Mastering IBM Websphere course ... I'm no master yet and my head is ready to blow up with terms, patterns and accronyms flying out buts its good. I think these courses are good, especially for any CF developer as it gives you a great understanding in how a large strongly typed language web project has to come together (and makes you appreciate how easy CF makes it too). Also the Websphere Application Developer (Eclipse based tool) is pretty cool (though it should be for £3000 per seat) but I've had no luck trying to install on a Mac, has anyone out there done it?? I've got the WAS Community Edition server going which I'll post about later. Anyway, the majority of you are here for the joke, enjoy!

One day when the teacher walked to the black board, she noticed someone had written the word 'penis' in tiny small letters. She turned around, scanned the class looking for the guilty face. Finding none, she quickly erased it, and began her class.

The next day she went into the room and she saw, in larger letters, the word 'penis' again on the black board. Again, she looked around in vain for the culprit, but found none, so she proceeded with the day's lesson.

[More]

Comments Comments (1) | Print Print | Send Send | 2579 Views

CFEclipse and Adobe CF Extensions in one download

In the first part of this 2 parter I mentioned the differences between the 2 ColdFusion plugins for Eclipse that are out there. Here I have put them into one zip file for you to download and install, it really couldn't be easier to check out the CF environment "everyone is using"*

Update: After a quick read of the EULA from Adobe, it appears that I was being a little naughty by bundling them together. Hence the quick removal/update of the original post (anyone who got here first was lucky). That doesn't mean that you still can't have a cracking CF dev environment. The zip I produced was files taken from 2 sources: Eclipse 3.3 and the ColdFusion Extensions for Eclipse and the CFEclipse download section of the site.

[More]

Comments Comments (2) | Print Print | Send Send | 4594 Views

Difference between CFEclipse and CF Extensions

This post is in two parts as I realised it's probably not good to bombard you with one longgggg post. The second part (which is the reason this post even exists) is about a new zip file that I have put together so you can download CFEclipse and Adobe CF Extensions in one go. This post first off covers the difference between them so you know what you are getting and why you want it;

Incase you don't know the CF Extensions are very different to the CFEclipse plugin for Eclipse but both are essential for your CF development environment.

[More]

Comments Comments (1) | Print Print | Send Send | 5928 Views

Eclipse local help system

Update: This appears to be on a different port for others. As Jax pointed out you can go: Eclipse, select Help -> Help contents to get there as well :o)

I was just going into some help files of Aptana when I came across the local address for the Eclipse Help system at: http://127.0.0.1:58041/help/index.jsp

In there was a wealth of information I just didn't know was on my hard drive ... though I suppose it depends on what plug-in's you've got installed but for me I had:

[More]

Comments Comments (2) | Print Print | Send Send | 3835 Views

Ant: Passing attributes to Build.xml

Critter on a previous post asked "if you can pass in attributes to the build.xml file?" From the Terminal this is as easy as adding another argument "-D".

[More]

Comments Comments (3) | Print Print | Send Send | 5632 Views

Installing ANT on Windows and or Mac OS X

I'm gonna try and cover the two OS's here so be kind.

First things first, goto http://ant.apache.org/bindownload.cgi and download the appropriate archive (zip) file: apache-ant-[VERSION NUMBER HERE]-bin.zip

[More]

Comments Comments (15) | Print Print | Send Send | 9284 Views

Ant: Copying files and directories

I know that I've done a post on copying files with Ant, but I really want to take this further and into more detail. To save my fingers a lot of the text below is taken from my first post as moving and copying directories/files is a similar command in principle.

I also want to mention that I am running all my Ant tasks via Eclipse and not the command line. If there is a demand to know how to install Ant and run it from the command line I'll do that post separately. At this point I'm assuming you've got Eclipse and you know you way around it enough? Before we do begin you will need to ensure that you can see the Console 'View', you can get to this by going to:

[More]

Comments Comments (4) | Print Print | Send Send | 21443 Views

Ant: Moving files and directories

First off I wanna say that I'm running all my Ant task via Eclipse and not the command line. If there is a demand to know how to install Ant and run it from the command line I'll do that post separately.

So, what is Ant? Well to steal a quote from Mark Drew, think of Ant as .bat files on steroids. You use XML to describe a set of commands to run a whole range of tasks to do anything from SVN/CVS checkouts, unit tests, FTP, emails, sql, moving/copying folders/files generally just name it!

In this guide I want to cover creating a build.xml file and moving files/folders. I'm assuming you've got Eclipse and you know you way around it enough. Before we do begin you will need to ensure that you can see the Console View.

[More]

Comments Comments (1) | Print Print | Send Send | 9264 Views

Eclipse error logs

If you are ever having trouble with Eclipse or any plugin such as CFEclipse you can always view the "Eclipse error log".

The best way to view these is through Eclipse it self, to see the this goto:

view plain print about
1Window >> Show View >> Other >> PDE Runtime >> Error Log

[More]

Comments Comments (1) | Print Print | Send Send | 12841 Views

CFEclipse shortcut for complete line copy and paste

One of the cool things about CFEclipse is that it's built on Eclipse ... just incase you didn't know that. But with this also means that across all my perspectives (perspectives for non Eclipser's are the equivalent to seperates IDE's) you share shortcuts.

[More]

Comments Comments (2) | Print Print | Send Send | 2963 Views

Performance settings for Eclipse on OSX

I've been adding some performance variables to my Eclipse setup and have recently learnt that on the Mac you can use an Eclipse.ini file for the settings instead of the [non-standard] Info.plist file.

To open the Eclipse.ini file goto Eclipse.app >> right-click >> Show Package Contents Then navigate to /Contents/MacOS and use a text editor to open the file.

Note: A single VM argument ("-vmargs") specified in Info.plist will cause all other VM arguments in the eclipse.ini to be ignored.

So far from my trawlings around the web one consensus I've seen is that to improve performance you should give the VM as much ram as you can spare and and set your min and max values to the same amounts to avoid resizing.

So for reference I have added the following startup variables in my ini file:

view plain print about
1-Xms512m
2-Xmx512m
3-XX:PermSize=128m
4-XX:MaxPermSize=128m
5-Xverify:none

The first 4 setting change how the memory is managed.

Line 5 should reduce your startup time. This parameter turns off bytecode verification. I'm not a Java expert (so please someone jump in if I am wrong) but you should only set this if you know your plugins work fine. In essence this checks for the Java language rules for safety and the code may not have been produced by a known-to-be trustworthy Java compiler meaning that you could end up crashing Eclipse as your plugin might violate access restrictions etc.

If you have any more changes/updates let me know!

Comments Comments (5) | Print Print | Send Send | 5732 Views

CFUnit not in CFEclipse, just yet

I've just had a comment in my CFUnit guide about not being able to find the feature in CFEclipse. This isn't because it is hidden within CFE, but as with all beta's some features/functions never make the final cut. Sadly this time the CFunit feature was one of them.

Don't worry though. It is in the pipeline, and will be coming!

Comments Comments (6) | Print Print | Send Send | 3849 Views

Be ColdFused no more! CFEclipse 1.3 is here

Mark Drew has finally announced that CFEclipse 1.3 is here. Not only do we have an updated editor, but the the site has been radically updated as well.

Start downloading now!

Comments Comments (2) | Print Print | Send Send | 2136 Views

The Rough Guides

In case no one has noticed I am kind of starting a Rough Guide Series. These guides are made the way I like guides to be. They don't go in-depth and throw everything at you! They just do enough to get you up and walking and give you an understanding of the topic. For example the ColdSpring series were done with this in mind. I just wanted to help get the idea to finally click and see what it is good for. They seemed to of done well from looking at the views and they even got a mention in the CFWeekly(cheers guys, keep up the good work!). Along with this I will also offer links/resources to carry on where I leave off.

What will I be covering next.

[More]

Comments Comments (1) | Print Print | Send Send | 2390 Views

Going beyond Eclipse's local file compare/replace

Originally I wanted to title this "Last night Eclipse saved my life" but decided that didn't really explain this mini guide all to well.

First off, if you are not on Eclipse than you probably don't know about two great features, "Compare with local history", and "Replace with local history". In brief, Eclipse saves all previous version of your file(s) you are working on. So with a simple click you can "Compare"/"Replace" your current version of a document to the original one you started working on 2 days ago! Think of it as a mini source control without the checking in.out. If you want to know more about these features go to Robert Blackburn write up in Fusion Authority.

What does "Going beyond Eclipse's local file compare/replace" mean then?

[More]

Comments Comments (1) | Print Print | Send Send | 5206 Views

Running CFUnit in CFEclipse quick guide

As you might of heard CFUnit is now integrated into the beta build of CFEclipse. To bring you up-to-speed about CFUnit(incase you didn't know); CFUnit is a unit testing framework for ColdFusion, modelled after the popular JUnit framework. By building test units while creating your app you can ensure that your methods (cffunctions) and components overall behave as expected. If you are totally new to CFUnit you might want to check out the references at the end of this post.

So who is this guide for. Well nearly anyone who wants to get started with CFUnit within CFEclipse. For reference I am working on Eclipse 3.2.1 with CFEclipse 1.3 Beta RC2 1.2.9.7 and im gonna assume you've got both on your sytem. This guide doesn't really go into all the benefits of CFUnit (though by the end of this you should be able to seem them) so if you want more details afterwards check out the points of reference at the end.

[More]

Comments Comments (12) | Print Print | Send Send | 15851 Views

More Entries

BlogCFC by Raymond Camden + Twitter @AndyJ + ColdFusion jobs + Contact Me + Snippets/Downloads + RSS .