Welcome Guest, Not a member yet? Register   Sign In
Eclipse, SVN and CI
#1

[eluser]DougW[/eluser]
I have a server set up with codeigniter and svn. I have several sites which are properly maintained by SVN. I was running an SVN client on my desktop which checked out the svn repository. I edit the code locally, test it on my local browser (gotta love the Mac with built-in linux server) and then committed the code back to my server. Everything is fine.

I grew tired of dreamweaver and am switching to Eclipse. So I download Eclipse. Install the SVN plugin. Figured out how to connect to a remote repository. I even created a new Eclipse project and checked out the project from svn into the new project.

I can browse the files one at a time and when am doen editing, can right-click and commit back to the server. Everything is cool. Except one thing.

I cannot get the codeigniter file structure to show up when I load a project. In fact, Eclipse doesn't even recognize any files that are there. How do I tell Eclipse that the project structure matches codeigniter. Ideally, I'd like to open the project and browse the files from the directory structure. Has anyone successfully integrated eclipse and CI to this extent? If anyone cares I'm happy to help them get this development environment working. It is really smooth and beautiful. Just open eclipse, edit a file, test locally, commit to server. Bam. Best of all worlds if I can just get the CI structure to show up in an Eclipse project.

Thanks!
#2

[eluser]jalalski[/eluser]
This isn't going to answer your question... but I used Eclipse for a while and then a couple of months ago switched over to NetBeans 6.5 PHP version and I really suggest you take a look at that. It's been much easier to setup and use, is more stable and is friendly to PHP. There is currently a CakePHP plugin and I'm sure there will be a CodeIgniter one on the way soon.
#3

[eluser]gon[/eluser]
I use Eclipse with subclipse, the SVN plugin for eclipse, so I'll assume you also do.
Don't really understand what the problem is. After doing the first checkout, you'll see project files in the file browser, and you can open any number of them. Then you'll commit file by file or the whole project.

What do you mean by "get the CI structure to show up in an Eclipse project"?
If the CI files are inside the project, you'll see them.
If they aren't, you obviously not.

Please clarify..
cheers
#4

[eluser]DougW[/eluser]
Duh. I am such a dope. I didn't have the 'Navigation' view turned on. As soon as I turned that on, I can now successfully browse all my projects.

Now if I can just get Codeigniter to officially fix the bug I found int he forms helper. Smile

Thanks for the feedback guys.




Theme © iAndrew 2016 - Forum software by © MyBB