Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #32105 > unrolled thread
| Started by | Cecil Westerhof <Cecil@decebal.nl> |
|---|---|
| First post | 2015-07-22 14:40 +0200 |
| Last post | 2015-07-24 16:34 +0200 |
| Articles | 20 on this page of 23 — 8 participants |
Back to article view | Back to comp.lang.java.programmer
Working with maven Cecil Westerhof <Cecil@decebal.nl> - 2015-07-22 14:40 +0200
Re: Working with maven e.d.programmer@gmail.com - 2015-07-22 10:08 -0700
Re: Working with maven Jeff Higgins <jeff@invalid.invalid> - 2015-07-22 17:10 -0400
Re: Working with maven e.d.programmer@gmail.com - 2015-07-23 04:48 -0700
Re: Working with maven Joerg Meier <joergmmeier@arcor.de> - 2015-07-23 19:24 +0200
Re: Working with maven e.d.programmer@gmail.com - 2015-07-23 13:28 -0700
Re: Working with maven lipska the kat <dont@email.me> - 2015-07-24 11:22 +0100
Re: Working with maven Cecil Westerhof <Cecil@decebal.nl> - 2015-07-24 16:19 +0200
Re: Working with maven lipska the kat <dont@email.me> - 2015-07-24 18:03 +0100
Re: Working with maven Joerg Meier <joergmmeier@arcor.de> - 2015-07-24 20:36 +0200
Re: Working with maven lipska the kat <dont@email.me> - 2015-07-26 05:49 +0100
Re: Working with maven Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2015-07-26 13:56 +0000
Re: Working with maven lipska the kat <dont@email.me> - 2015-07-26 15:38 +0100
Re: Working with maven Gordon Levi <gordon@address.invalid> - 2015-07-27 01:18 +1000
Re: Working with maven lipska the kat <dont@email.me> - 2015-07-26 17:02 +0100
Re: Working with maven Arne Vajhøj <arne@vajhoej.dk> - 2015-07-26 21:16 -0400
Re: Working with maven e.d.programmer@gmail.com - 2015-07-27 05:41 -0700
Re: Working with maven Arne Vajhøj <arne@vajhoej.dk> - 2015-07-26 21:09 -0400
Re: Working with maven Arne Vajhøj <arne@vajhoej.dk> - 2015-07-26 21:06 -0400
Re: Working with maven Arne Vajhøj <arne@vajhoej.dk> - 2015-07-26 20:40 -0400
Re: Working with maven Arne Vajhøj <arne@vajhoej.dk> - 2015-07-26 20:39 -0400
Re: Working with maven Joerg Meier <joergmmeier@arcor.de> - 2015-07-23 19:17 +0200
Re: Working with maven Cecil Westerhof <Cecil@decebal.nl> - 2015-07-24 16:34 +0200
Page 1 of 2 [1] 2 Next page →
| From | Cecil Westerhof <Cecil@decebal.nl> |
|---|---|
| Date | 2015-07-22 14:40 +0200 |
| Subject | Working with maven |
| Message-ID | <87mvyonz6a.fsf@Equus.decebal.nl> |
I started working on a project where maven is used. It is a project with several sub-directories. In the root I can just run: mvn install. A side effect is that the tests are run. To run only the tests, I would expect I just need to run: mvn test. But then no tests are run and I get: BUILD ERROR. When going to a sub-directory ‘mvn test’ does work. (For that directory.) What could be the problem? Also when I only want to run a certain test set, I go to the directory ‘firstSet’ and run: mvn test -Dtest=SoloTest. I would like tor run only this test set without the need to go into the directory, but stay in the projects root directory. is this possible? -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof
[toc] | [next] | [standalone]
| From | e.d.programmer@gmail.com |
|---|---|
| Date | 2015-07-22 10:08 -0700 |
| Message-ID | <6d93ec51-ea9c-4777-a785-b00de815a1d9@googlegroups.com> |
| In reply to | #32105 |
On Wednesday, July 22, 2015 at 8:44:47 AM UTC-4, Cecil Westerhof wrote: > I started working on a project where maven is used. > > It is a project with several sub-directories. > In the root I can just run: mvn install. > A side effect is that the tests are run. > To run only the tests, I would expect I just need to run: mvn test. > But then no tests are run and I get: BUILD ERROR. > When going to a sub-directory 'mvn test' does work. (For that > directory.) > What could be the problem? > > Also when I only want to run a certain test set, I go to the directory > 'firstSet' and run: mvn test -Dtest=SoloTest. > I would like tor run only this test set without the need to go into > the directory, but stay in the projects root directory. is this > possible? > > -- > Cecil Westerhof > Senior Software Engineer > LinkedIn: http://www.linkedin.com/in/cecilwesterhof I've seen a lot of maven projects give the instructions to run mvn install to get the source. Why are they running dos commands, is this 1985? There is an eclipse plugin that should allow maven to import project source with a GUI.
[toc] | [prev] | [next] | [standalone]
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Date | 2015-07-22 17:10 -0400 |
| Message-ID | <mop10p$tbb$1@dont-email.me> |
| In reply to | #32106 |
On 07/22/2015 01:08 PM, e.d.programmer@gmail.com wrote: > On Wednesday, July 22, 2015 at 8:44:47 AM UTC-4, Cecil Westerhof wrote: >> I started working on a project where maven is used. >> >> It is a project with several sub-directories. >> In the root I can just run: mvn install. >> A side effect is that the tests are run. >> To run only the tests, I would expect I just need to run: mvn test. >> But then no tests are run and I get: BUILD ERROR. >> When going to a sub-directory 'mvn test' does work. (For that >> directory.) >> What could be the problem? >> >> Also when I only want to run a certain test set, I go to the directory >> 'firstSet' and run: mvn test -Dtest=SoloTest. >> I would like tor run only this test set without the need to go into >> the directory, but stay in the projects root directory. is this >> possible? >> >> -- >> Cecil Westerhof >> Senior Software Engineer >> LinkedIn: http://www.linkedin.com/in/cecilwesterhof > > I've seen a lot of maven projects give the instructions to run mvn install to get the source. Why are they running dos commands, is this 1985? > There is an eclipse plugin that should allow maven to import project source with a GUI. > Did you not understand the questions asked by Cecil Westerhof?
[toc] | [prev] | [next] | [standalone]
| From | e.d.programmer@gmail.com |
|---|---|
| Date | 2015-07-23 04:48 -0700 |
| Message-ID | <f1b775f0-c1f7-4db8-af86-6735f0c8ee75@googlegroups.com> |
| In reply to | #32107 |
On Wednesday, July 22, 2015 at 5:14:52 PM UTC-4, Jeff Higgins wrote: > Did you not understand the questions asked by Cecil Westerhof? I think that's the point. I don't know the answers because it's old command line stuff. So far no one else knows either. I suggest using the GUI Eclipse plugin.
[toc] | [prev] | [next] | [standalone]
| From | Joerg Meier <joergmmeier@arcor.de> |
|---|---|
| Date | 2015-07-23 19:24 +0200 |
| Message-ID | <1jlz9tci8kzqn.1pd9hnpc15bl5$.dlg@40tude.net> |
| In reply to | #32108 |
On Thu, 23 Jul 2015 04:48:18 -0700 (PDT), e.d.programmer@gmail.com wrote: > On Wednesday, July 22, 2015 at 5:14:52 PM UTC-4, Jeff Higgins wrote: >> Did you not understand the questions asked by Cecil Westerhof? > I think that's the point. I don't know the answers because it's > old command line stuff. So far no one else knows either. I > suggest using the GUI Eclipse plugin. That is honestly an incredibly idiotic stance. For starters, Maven is a command line tool. There are no "old dos commands", command line is literally the only interface for maven there is. Quite similarily, actually, as how the only interface with javac, jar, gradle or any other Java development tool (and really like 99.9% of Linux programs) is the command line. All your "GUI Eclipse plugin" is call Maven with those same command line flags. You don't know the answer because you don't know the tool you are using, and having buttons to click is not going to change that - as the case in point proves: you also don't know how to just run the tests in his broken setup. Frankly, I am offended by your smug and condescending responses that basically advertise ignorance. Not being able to use your own tools without the handholding of a GUI that a more experienced developer made for you is not something to be proud of and certainly not something to use in an attempt to belittle and put down another developer attempting to learn how to use that tool. Liebe Gruesse, Joerg -- Ich lese meine Emails nicht, replies to Email bleiben also leider ungelesen.
[toc] | [prev] | [next] | [standalone]
| From | e.d.programmer@gmail.com |
|---|---|
| Date | 2015-07-23 13:28 -0700 |
| Message-ID | <1304bb84-402d-4bfa-bd40-b541c5716c10@googlegroups.com> |
| In reply to | #32110 |
On Thursday, July 23, 2015 at 1:24:42 PM UTC-4, Joerg Meier wrote: > That is honestly an incredibly idiotic stance. For starters, Maven is a > command line tool. There are no "old dos commands", command line is > literally the only interface for maven there is. Quite similarily, > actually, as how the only interface with javac, jar, gradle or any other > Java development tool (and really like 99.9% of Linux programs) is the > command line. > > All your "GUI Eclipse plugin" is call Maven with those same command line > flags. You don't know the answer because you don't know the tool you are > using, and having buttons to click is not going to change that - as the > case in point proves: you also don't know how to just run the tests in his > broken setup. > > Frankly, I am offended by your smug and condescending responses that > basically advertise ignorance. Not being able to use your own tools without > the handholding of a GUI that a more experienced developer made for you is > not something to be proud of and certainly not something to use in an > attempt to belittle and put down another developer attempting to learn how > to use that tool. > > Liebe Gruesse, > Joerg > > -- > Ich lese meine Emails nicht, replies to Email bleiben also leider > ungelesen. Why do you talk about yourself like that? Seriously, you are the one being smug and condescending here. I was just suggesting to use the tool which should eliminate the possibility you just typed the command wrong. Sure you can type in a javac command to compile a program, you can type in the entire command line specifying the main class name and every jar on your classpath every time you compile it. You could also just save yourself some time and from the evil typos and set it up in the GUI. Most people prefer the easier modern tools which is why Windows which you have to pay for is still far more popular than the free Linux. Last time I tested Linux it booted up to a GUI screen literally asking me to type in commands to load drivers before it would do anything useful. The GUI interface is not only a huge time saving convenience to most people, but also makes it easier to debug someone else's problem. You bothered to respond simply to attack, saying you have no clue what the answer is without seeing all the details. Why not just ask the user to post a link to a video of their screen showing all the properties and commands so you can point out where they went wrong as if you're actually there, or just get their address and go there.
[toc] | [prev] | [next] | [standalone]
| From | lipska the kat <dont@email.me> |
|---|---|
| Date | 2015-07-24 11:22 +0100 |
| Message-ID | <mot3ir$tkn$1@dont-email.me> |
| In reply to | #32111 |
On 23/07/15 21:28, e.d.programmer@gmail.com wrote: > On Thursday, July 23, 2015 at 1:24:42 PM UTC-4, Joerg Meier wrote: <snip> > > You bothered to respond simply to attack, Welcome to comp.lang.java.programmer It does make me smile though, using maven is one of the many per-requsites to being 'in the cool gang' here Not using maven marks you down as a luddite (I tried it once, didn't like it) When you made a perfectly reasonable suggestion to try Eclipse (just another tool, like maven) you were verbally assaulted because you are (apparently) not able to '...use your own tools without the handholding of a GUI' astonishing, actually there also seems to be an undercurrent of sneering contempt for Eclipse here. I use it all the time, made me a bloody fortune. I thought it was a good idea, in fact, it's an example of how most work gets done these days, build tools upon tools, get the work done, get your pay, get down the pub. Eclipse often reports useful error messages that (seem to) disappear into /dev/null otherwise OP, you could do worse than give Eclipse a go, we promise we won't think less of you if you do. -- lipska the kat. I'm back.
[toc] | [prev] | [next] | [standalone]
| From | Cecil Westerhof <Cecil@decebal.nl> |
|---|---|
| Date | 2015-07-24 16:19 +0200 |
| Message-ID | <87bnf1ocxk.fsf@Equus.decebal.nl> |
| In reply to | #32112 |
On Friday 24 Jul 2015 12:22 CEST, lipska the kat wrote: > On 23/07/15 21:28, e.d.programmer@gmail.com wrote: >> On Thursday, July 23, 2015 at 1:24:42 PM UTC-4, Joerg Meier wrote: > > <snip> > >> >> You bothered to respond simply to attack, > > Welcome to comp.lang.java.programmer > > It does make me smile though, using maven is one of the many > per-requsites to being 'in the cool gang' here > > Not using maven marks you down as a luddite (I tried it once, didn't > like it) When you made a perfectly reasonable suggestion to try > Eclipse (just another tool, like maven) you were verbally assaulted > because you are (apparently) not able to '...use your own tools Well, everything is in the eye of the beholder. He was being quite negative about me using Maven. If you throw with mud, you should not be surprised you get some back. > OP, you could do worse than give Eclipse a go, we promise we won't > think less of you if you do. Well, I use both. Both have there uses. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof
[toc] | [prev] | [next] | [standalone]
| From | lipska the kat <dont@email.me> |
|---|---|
| Date | 2015-07-24 18:03 +0100 |
| Message-ID | <motr1i$ou4$1@dont-email.me> |
| In reply to | #32113 |
On 24/07/15 15:19, Cecil Westerhof wrote: > On Friday 24 Jul 2015 12:22 CEST, lipska the kat wrote: > >> On 23/07/15 21:28, e.d.programmer@gmail.com wrote: >>> On Thursday, July 23, 2015 at 1:24:42 PM UTC-4, Joerg Meier wrote: >> >> <snip> >> >>> >>> You bothered to respond simply to attack, >> >> Welcome to comp.lang.java.programmer >> >> It does make me smile though, using maven is one of the many >> per-requsites to being 'in the cool gang' here >> >> Not using maven marks you down as a luddite (I tried it once, didn't >> like it) When you made a perfectly reasonable suggestion to try >> Eclipse (just another tool, like maven) you were verbally assaulted >> because you are (apparently) not able to '...use your own tools > > Well, everything is in the eye of the beholder. He was being quite > negative about me using Maven. If you throw with mud, you should not > be surprised you get some back. Negative ... NEGATIVE? are you sure. How in $DEITY's name was he/she/it being negative? he/she/it was trying to make a helpful suggestion. Are you a sock puppet? You should fit in well here, have you met our resident Software Engineer Emeritus (self proclaimed)? -- lipska the kat. I'm back.
[toc] | [prev] | [next] | [standalone]
| From | Joerg Meier <joergmmeier@arcor.de> |
|---|---|
| Date | 2015-07-24 20:36 +0200 |
| Message-ID | <ff2gd22ove02$.1kdphgpmplt2q.dlg@40tude.net> |
| In reply to | #32118 |
On Fri, 24 Jul 2015 18:03:08 +0100, lipska the kat wrote: > Negative ... NEGATIVE? are you sure. > How in $DEITY's name was he/she/it being negative? > he/she/it was trying to make a helpful suggestion. Well, let's see: On Wed, 22 Jul 2015 10:08:32 -0700 (PDT), e.d.programmer@gmail.com wrote: > Why are they running dos commands, is this 1985? On Thu, 23 Jul 2015 04:48:18 -0700 (PDT), e.d.programmer@gmail.com wrote: > I don't know the answers because it's old command line stuff. You don't think that's being negative ? Aside from being completely wrong (Maven is in fact neither old nor a dos command), his suggestion was not to not use Maven (*), but to use a GUI with a button to run the same command he was having trouble with. His suggestion was akin to saying "Your Java code doesn't compile? Try clicking on the triangle button in Eclipse, that's so much better than typing out 'javac'!". I myself use Eclipse almost exclusively and would certainly advise almost any developer (other one comfortable and happy with IntelliJ's IDEA) to pick it up. But I also know how to use java, javac, jar, mvn, ant and a bunch of other tools without handholding, so I can do exciting things like build a project without having to download and install an IDE, or compile things on a headless server, or as part of a nightly built, or or or ... To suggest that knowing how to use the tools one depends on somehow makes one an inferiour relic from the past, and that it in any way is something to brag about not knowing the fundamentals is, like I said, offensive to me. I find the idea akin to suggesting that knowing how to add without a pocket calculator makes you an antiquated fool. Liebe Gruesse, Joerg (*) At least I hope so, if his suggestion was actually to switch a Maven build to a proprietary, workstation specific IDE build, forcing everyone in the team to either switch to that IDE or walk over to a colleagues PC to build, then that would be considerably worse. -- Ich lese meine Emails nicht, replies to Email bleiben also leider ungelesen.
[toc] | [prev] | [next] | [standalone]
| From | lipska the kat <dont@email.me> |
|---|---|
| Date | 2015-07-26 05:49 +0100 |
| Message-ID | <mp1opu$t5l$1@dont-email.me> |
| In reply to | #32120 |
On 24/07/15 19:36, Joerg Meier wrote: > On Fri, 24 Jul 2015 18:03:08 +0100, lipska the kat wrote: > >> Negative ... NEGATIVE? are you sure. >> How in $DEITY's name was he/she/it being negative? >> he/she/it was trying to make a helpful suggestion. > > Well, let's see: > > On Wed, 22 Jul 2015 10:08:32 -0700 (PDT), e.d.programmer@gmail.com wrote: >> Why are they running dos commands, is this 1985? > > On Thu, 23 Jul 2015 04:48:18 -0700 (PDT), e.d.programmer@gmail.com wrote: >> I don't know the answers because it's old command line stuff. > > You don't think that's being negative ? Aside from being completely wrong > (Maven is in fact neither old nor a dos command) ... <snip pissing contest> Apologies for the delay in replying, (had to work around a bug in a 3rd party lib) ... digress I think we both know *exactly* what the OP meant when he said 'DOS command' Unless you've replaced it (command.com) anything you type at a DOS prompt will be interpreted by the default DOS command interpreter (command.com) and will have to comply with rules for commands passed to said interpreter, therefore, in this context, mvn is, in fact, a DOS command. Maybe you meant 'is not a built in DOS command' with which I concur. The only other option I am aware of is overlaying the default interpreter with a different interactive shell, mysql for example mysql -u foobar -p nevermind Like I say, I think you know this and were just busting for a fight. Anyway, I'm off into the garden to pick some beans and courgettes for lunch. Has anyone else's courgettes gone beserk this year? I've got more than I can eat, anybody want some? they're free! ttfn -- lipska the kat. I'm back.
[toc] | [prev] | [next] | [standalone]
| From | Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> |
|---|---|
| Date | 2015-07-26 13:56 +0000 |
| Message-ID | <slrnmr9pqr.uoi.avl@login.logic.tuwien.ac.at> |
| In reply to | #32146 |
lipska the kat <dont@email.me> wrote: > I think we both know *exactly* what the OP meant when he said 'DOS > command' Unless you've replaced it (command.com) anything you type at a > DOS prompt will be interpreted by the default DOS command interpreter > (command.com) I hardly ever use MS-Windows these days, but last time I touched one with a less than ten meter pole, it seemed like the 'Eingabeaufforderung' (German word for command line) was really starting "cmd.exe", not "command.com". After setting some registry entry (which I google each time and forget again afterwards) the cmd.exe is even able to do tab-expansion on file names. (at least back in the days of XP and 7) No, I'll really resist my urge to mention other command interpreters typically found on other OS's that are more powerful both to use and to script... > Anyway, I'm off into the garden to pick some beans and courgettes for > lunch. Has anyone else's courgettes gone beserk this year? > I've got more than I can eat, anybody want some? they're free! Yes, please attach them here. (While this is a non-binary newsgroup, I'd expect that courgettes are neither digital nor binary, so attaching these surely wouldn't violate that rule ;-) Smile & enjoy the weekend (and the home-grown courgettes, too!)
[toc] | [prev] | [next] | [standalone]
| From | lipska the kat <dont@email.me> |
|---|---|
| Date | 2015-07-26 15:38 +0100 |
| Message-ID | <mp2r9e$213$1@dont-email.me> |
| In reply to | #32148 |
On 26/07/15 14:56, Andreas Leitgeb wrote: > lipska the kat <dont@email.me> wrote: >> I think we both know *exactly* what the OP meant when he said 'DOS >> command' Unless you've replaced it (command.com) anything you type at a >> DOS prompt will be interpreted by the default DOS command interpreter >> (command.com) > > I hardly ever use MS-Windows these days, but last time I touched one with a > less than ten meter pole, it seemed like the 'Eingabeaufforderung' (German > word for command line) was really starting "cmd.exe", not "command.com". Fair comment, cmd.exe it is from XP on, and I would agree that cmd.exe provides a (32 bit or >) shell that is quite different from the old 16 bit DOS shell provided by command.com. Nontheless I still say we all know what the OP meant when he said 'DOS command' I need to keep up with Windows as I volunteer at an adult drop in centre for older and or disadvantaged people who are struggling with our glorious governments obsession with putting services online despite the fact that most of the people who use these services are the people least likely to be able afford or use computers, let alone an Internet connection. I do all my dev on Linux, have done for years. I just registered my 8.1 box for a free Windows 10 upgrade, which, apparently is free (for a year), not sure what they expect after a year, if it's cash then fdisk /u it is ... oh wait a minute, there's no fdisk :-( Anyway, find attached some virtual courgettes, French beans and a couple of sticks of rhubarb, the courgettes are mouthwatering when lightly fried with a bit of butter and served hot on toast with an egg and rhubarb fool is one of the true wonders of the culinary arts. > Smile & enjoy the weekend (and the home-grown courgettes, too!) You too (virtually) -- lipska the kat. I'm back.
[toc] | [prev] | [next] | [standalone]
| From | Gordon Levi <gordon@address.invalid> |
|---|---|
| Date | 2015-07-27 01:18 +1000 |
| Message-ID | <oet9ra9joo31sol4o9m0g6sm53se3i9tpf@4ax.com> |
| In reply to | #32149 |
lipska the kat <dont@email.me> wrote: >I just >registered my 8.1 box for a free Windows 10 upgrade, which, apparently >is free (for a year), I made a similar error but, in fact, the upgrade to Windows 10 is free if installed any time during the year. After that they may ask you to pay. Once you install it you can use your Windows 10 licence for the life of the computer you installed it on.
[toc] | [prev] | [next] | [standalone]
| From | lipska the kat <dont@email.me> |
|---|---|
| Date | 2015-07-26 17:02 +0100 |
| Message-ID | <mp307l$jj9$1@dont-email.me> |
| In reply to | #32150 |
On 26/07/15 16:18, Gordon Levi wrote: > lipska the kat <dont@email.me> wrote: > >> I just >> registered my 8.1 box for a free Windows 10 upgrade, which, apparently >> is free (for a year), > > I made a similar error but, in fact, the upgrade to Windows 10 is free > if installed any time during the year. After that they may ask you to > pay. Once you install it you can use your Windows 10 licence for the > life of the computer you installed it on. Yes, I just read something on the Microsoft site about this, it appears you are correct although what 'software as a service' actually means to your average Windows user is anyones guess. I can't believe Microsoft will actually 'continuously upgrade' for free for ever. Or even for 10 years) Still, before I get shouted at I guess this discussion belongs in a Windows NG -- lipska the kat. I'm back.
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2015-07-26 21:16 -0400 |
| Message-ID | <mp40pk$sak$1@speranza.aioe.org> |
| In reply to | #32146 |
On 7/26/2015 12:49 AM, lipska the kat wrote: > On 24/07/15 19:36, Joerg Meier wrote: >> On Fri, 24 Jul 2015 18:03:08 +0100, lipska the kat wrote: >> >>> Negative ... NEGATIVE? are you sure. >>> How in $DEITY's name was he/she/it being negative? >>> he/she/it was trying to make a helpful suggestion. >> >> Well, let's see: >> >> On Wed, 22 Jul 2015 10:08:32 -0700 (PDT), e.d.programmer@gmail.com wrote: >>> Why are they running dos commands, is this 1985? >> >> On Thu, 23 Jul 2015 04:48:18 -0700 (PDT), e.d.programmer@gmail.com wrote: >>> I don't know the answers because it's old command line stuff. >> >> You don't think that's being negative ? Aside from being completely wrong >> (Maven is in fact neither old nor a dos command) ... > > <snip pissing contest> > > Apologies for the delay in replying, (had to work around a bug in a 3rd > party lib) ... digress > > I think we both know *exactly* what the OP meant when he said 'DOS > command' Unless you've replaced it (command.com) anything you type at a > DOS prompt will be interpreted by the default DOS command interpreter > (command.com) and will have to comply with rules for commands passed to > said interpreter, therefore, in this context, mvn is, in fact, a DOS > command. Maybe you meant 'is not a built in DOS command' with which I > concur. You seem to be both technically wrong and missing the point. Regarding the technical side: DOS obviously execute DOS commands using a DOS command interpreter. But since DOS went out of fashion approx. 20 years ago and Java does not run under DOS then that is hardly relevant. Obviously command line stsill exist. Windows uses either CMD or PS. *nix uses sh/csh/ksh/bash/zsh/*. Regarding the point then it was not about what was meant by DOS but whether it was nice to consider something a 1985 solution. Arne
[toc] | [prev] | [next] | [standalone]
| From | e.d.programmer@gmail.com |
|---|---|
| Date | 2015-07-27 05:41 -0700 |
| Message-ID | <20eb7723-e9e7-419f-b8e3-0509211bb3ce@googlegroups.com> |
| In reply to | #32156 |
On Sunday, July 26, 2015 at 9:16:51 PM UTC-4, Arne Vajhøj wrote: > Regarding the technical side: > > DOS obviously execute DOS commands using a DOS command interpreter. > > But since DOS went out of fashion approx. 20 years ago and Java > does not run under DOS then that is hardly relevant. > > Obviously command line stsill exist. Windows uses either CMD or PS. > *nix uses sh/csh/ksh/bash/zsh/*. > > Regarding the point then it was not about what was meant by DOS > but whether it was nice to consider something a 1985 solution. > > Arne Before Windows 95, DOS was the OS. In Windows 95/98 there was command.com which opened a window where you can type DOS commands. In Windows XP they included command.com for backwards compatibility as they replaced it with cmd.exe which opens the same "Command Prompt" window. Now running Windows 8.1, they seem to have discarded command.com at some point but the "Command Prompt" window now cmd.exe still looks the same and I still refer to it as DOS. Perhaps you are a child who never had to use a computer before Windows 95? Rather than "DOS Command" to refer to anything you need to manually type from this "Command Prompt" window (or Windows 7 had a GUI window to access) we could call it "Command Shell Command"? A long time ago I also had to work on Unix where we typed in command line, I believe we called that Command Shell. That should be universal enough if you're too young to get the meaning of DOS command. Ever hear anyone tell you to "roll down" your car window? The term is still used long after windows became all push button. It appears the OP issue has been solved so you can end the childish debate.
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2015-07-26 21:09 -0400 |
| Message-ID | <mp40cd$rll$1@speranza.aioe.org> |
| In reply to | #32118 |
On 7/24/2015 1:03 PM, lipska the kat wrote: > On 24/07/15 15:19, Cecil Westerhof wrote: >> On Friday 24 Jul 2015 12:22 CEST, lipska the kat wrote: >>> On 23/07/15 21:28, e.d.programmer@gmail.com wrote: >>>> On Thursday, July 23, 2015 at 1:24:42 PM UTC-4, Joerg Meier wrote: >>>> You bothered to respond simply to attack, >>> >>> Welcome to comp.lang.java.programmer >>> >>> It does make me smile though, using maven is one of the many >>> per-requsites to being 'in the cool gang' here >>> >>> Not using maven marks you down as a luddite (I tried it once, didn't >>> like it) When you made a perfectly reasonable suggestion to try >>> Eclipse (just another tool, like maven) you were verbally assaulted >>> because you are (apparently) not able to '...use your own tools >> >> Well, everything is in the eye of the beholder. He was being quite >> negative about me using Maven. If you throw with mud, you should not >> be surprised you get some back. > > Negative ... NEGATIVE? are you sure. > How in $DEITY's name was he/she/it being negative? By suggesting that the way used was 1985 way! Arne
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2015-07-26 21:06 -0400 |
| Message-ID | <mp4066$rbi$1@speranza.aioe.org> |
| In reply to | #32111 |
On 7/23/2015 4:28 PM, e.d.programmer@gmail.com wrote: > On Thursday, July 23, 2015 at 1:24:42 PM UTC-4, Joerg Meier wrote: >> That is honestly an incredibly idiotic stance. For starters, Maven >> is a command line tool. There are no "old dos commands", command >> line is literally the only interface for maven there is. Quite >> similarily, actually, as how the only interface with javac, jar, >> gradle or any other Java development tool (and really like 99.9% of >> Linux programs) is the command line. >> >> All your "GUI Eclipse plugin" is call Maven with those same command >> line flags. You don't know the answer because you don't know the >> tool you are using, and having buttons to click is not going to >> change that - as the case in point proves: you also don't know how >> to just run the tests in his broken setup. >> >> Frankly, I am offended by your smug and condescending responses >> that basically advertise ignorance. Not being able to use your own >> tools without the handholding of a GUI that a more experienced >> developer made for you is not something to be proud of and >> certainly not something to use in an attempt to belittle and put >> down another developer attempting to learn how to use that tool. > > Why do you talk about yourself like that? Seriously, you are the one > being smug and condescending here. I was just suggesting to use the > tool which should eliminate the possibility you just typed the > command wrong. So your hypothesis is that he mistyped the command: mvn test ???? Arne
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2015-07-26 20:40 -0400 |
| Message-ID | <mp3umd$odj$2@speranza.aioe.org> |
| In reply to | #32110 |
On 7/23/2015 1:24 PM, Joerg Meier wrote: > On Thu, 23 Jul 2015 04:48:18 -0700 (PDT), e.d.programmer@gmail.com wrote: > >> On Wednesday, July 22, 2015 at 5:14:52 PM UTC-4, Jeff Higgins wrote: >>> Did you not understand the questions asked by Cecil Westerhof? >> I think that's the point. I don't know the answers because it's >> old command line stuff. So far no one else knows either. I >> suggest using the GUI Eclipse plugin. > > That is honestly an incredibly idiotic stance. For starters, Maven is a > command line tool. There are no "old dos commands", command line is > literally the only interface for maven there is. Quite similarily, > actually, as how the only interface with javac, jar, gradle or any other > Java development tool (and really like 99.9% of Linux programs) is the > command line. A few (including javac and jar) do have associated API. Arne
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | comp.lang.java.programmer
csiph-web