You are not logged in.
Actually, the Run class puts both outputs into real-time streams. In my basic implementation, I only read the stdout in realtime, then read the stderr afterward. I never tried reading both at the same time, fearing that waiting for stderr would keep the stdout from updating in the same thread. A seperate thread for reading/printing stderr should output in real-time.
That's sort of what I said! ("stderr is outputted after stdout"). I think it'll work ok if both streams are read.
Offline
Sorry if I sound a little defensive. This is the first bit of code I've contributed to any project. I guess I just feel a little possessive and excited about it's use... :oops:
v/r
Suds
Offline
Sorry if I sound a little defensive. This is the first bit of code I've contributed to any project. I guess I just feel a little possessive and excited about it's use... :oops:
I didn't think you were being defensive. You said what I said but in a little more detail! I suppose it was me being defensive as I wanted to clarify that you and I were talking about the same thing.
You'll notice in Help/About... that you are acknowledged for contributing. I don't know your proper name, so you've only got your alias in there for now. PM me if you want me to change it.
Offline
pacman doesn't really deal with package categories, only repositories.
Abs keeps track of categories, maybe you could parse that.
Offline
Abs keeps track of categories, maybe you could parse that.
That's an interesting point. But it's not very practical, as it would rely on the local abs tree being kept in sync. This could obviously take a while.
It's probably the best option available. It could be done where if the abs tree exists, then Jacman will try and get the info from it, otherwise, it'll leave the category field blank.
Who knows, it's not my immediate priority. I've applied for Jacman to have its own project on SourceForge. Once the source is in the CVS, people can play around whilst keeping upto date the current developments. Perhaps someothers can experiment with implementing category lookups.
Offline
I've got the Jacman project hosted at Berlios.de. I finally have a CVS server to play with. The only problem is that my only exposure to CVS is anon checkouts. I wish to import my src into the CVS server. The Berlios docs are brief and say to use the following command:
cvs -dloginname@cvs.berlios.de:/cvsroot/yourproject import modulename vendor start
I'm not quite sure what I should use best for the module name and vendor. The docs say "modulename is the name of the new CVS root level directory", so should I put "jacman" here? As for vendor - I have no idea. I read somewhere that this is the same as the release tag. So should I assign it a version number, like 0.1?
Sorry for being dumb!
Offline
Doesn't berlios hav subversion support? That's cooler than CVS, really.
There should be more specific instructions for using CVS. I remember using the import command, check google. I think vendor can be anything you like, and modulename should probably be 'jacman'.
Dusty
Offline
Doesn't berlios hav subversion support? That's cooler than CVS, really.
Yeah, so I hear, but I want to integrate with Eclipse, which only has CVS support.
There should be more specific instructions for using CVS. I remember using the import command, check google. I think vendor can be anything you like, and modulename should probably be 'jacman'.
Dusty
I've been checking Google already. (I promise, I always search for solutions before writing here) I haven't found anything in layman's terms yet. Thanks for the pointers though.
Offline
Theres a plugin for SVN for eclipse, http://subclipse.tigris.org/
Offline
Theres a plugin for SVN for eclipse, http://subclipse.tigris.org/
I expected that there would be such a plugin somewhere. I shall stick it out with CVS for now. Installing that plugin sounds like more effort than I care to part with at the moment.
Thanks for pointing it out though, I may try and install it at a later date.
Offline
This is the book to use for CVS.
http://cvsbook.red-bean.com/cvsbook.html
But having been a long-time CVS user and mid-time SVN user, I strongly recommend going to the trouble of figuring out SVN.
You might also be ready to outgrow Eclipse too. :-)
Dusty
Offline
This is the book to use for CVS.
I found this shortly after posting. I have had a glance through the introduction. I need to study it a little more though.
But having been a long-time CVS user and mid-time SVN user, I strongly recommend going to the trouble of figuring out SVN.
Don't get me wrong, I've heard nothing but praise for SVN. It's just that for now, CVS will do. I've only a small project. Sonix is the only other contributor and it was he who was pushing for a CVS server. I just went along.
You might also be ready to outgrow Eclipse too. :-)
I used to write everything in Vim. I still use it a lot, but not for non-trivial Java apps anymore. I've been converted to IDEs like Eclipse as it really has helped me to become more productive. Was sceptical at first, but that's just my personal experience.
Offline
I used to write everything in Vim. I still use it a lot, but not for non-trivial Java apps anymore. I've been converted to IDEs like Eclipse as it really has helped me to become more productive. Was sceptical at first, but that's just my personal experience.
I'm going to guess that the thing vim lacks is "intellisense"/"code complete"/whatever you wanna call it...
here's a list of features, by popularity vote, for vim7:
http://www.vim.org/sponsor/vote_results.php
there is already a few c/c++ systems to do this (cguess, icomplete) and this one works for java (I think):
http://www.vim.org/scripts/script.php?script_id=1213
Offline
arooaroo wrote:I used to write everything in Vim. I still use it a lot, but not for non-trivial Java apps anymore. I've been converted to IDEs like Eclipse as it really has helped me to become more productive. Was sceptical at first, but that's just my personal experience.
I'm going to guess that the thing vim lacks is "intellisense"/"code complete"/whatever you wanna call it...
Not so much. It's handy at times I suppose. Refactoring facilities are extremely useful. Quick fix is good. Templates are good. Easy integration of JUnit. Easy Integration of CVS. Integration of JavaDoc. The debugger is pretty decent. And the visual editor is OK for when you can't be bothered to hand code a GridBagLayout. I like how it can give me all sorts of warning, like if variables or imports are never actually used, for example. I like it how it can generate getters and setters, and generally, point out syntax errors on the fly. Etc. I can't think of all the reasons why I like it.
Horses for courses though.
Offline
phrakture wrote:arooaroo wrote:I used to write everything in Vim. I still use it a lot, but not for non-trivial Java apps anymore. I've been converted to IDEs like Eclipse as it really has helped me to become more productive. Was sceptical at first, but that's just my personal experience.
I'm going to guess that the thing vim lacks is "intellisense"/"code complete"/whatever you wanna call it...
Not so much. It's handy at times I suppose. Refactoring facilities are extremely useful. Quick fix is good. Templates are good. Easy integration of JUnit. Easy Integration of CVS. Integration of JavaDoc. The debugger is pretty decent. And the visual editor is OK for when you can't be bothered to hand code a GridBagLayout. I like how it can give me all sorts of warning, like if variables or imports are never actually used, for example. I like it how it can generate getters and setters, and generally, point out syntax errors on the fly. Etc. I can't think of all the reasons why I like it.
Horses for courses though.
Just for those python programmers, there's a vim plugin called Pida, it's gtk and does all this, CVS, SVN, Darcs, Project manager, Refactoring, Debugger, it's impressive and the features are growing fast.
Offline
FreeRIDE is a good ruby ide. Written in ruby.
http://freeride.rubyforge.org
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
Finally got a CVS server for Jacman courtesy of Berlios.de (cheers guys!) SoniX was in like a shot when I originally release the Jacman source and has made some great improvements. Now we can have a centralised place for improving the code. http://developer.berlios.de/projects/jacman/ will give you all the info about Jacman, including how to access the CVS server, and so you can grab the current dev branch whenever you wish. If you want write access, you'll need to get in touch.
Of course, I'm a complete novice with CVS, so you lot just better hope I don't fsck it up!
v0.2 will be out soon with SoniX's improved console and package rollback functionality.
Offline
IS there a 'latest' release of jacman? I tried out the version linked at the start of this thread and it looks very nice.
J
Offline
Well, the CVS server is available, details are on the post above. Not that there's much to see in the current dev branch though. 0.1 is the latest. I'd say wait a week and 0.2 will be out.
Offline