Spaces in file paths, part 7.38*10^89
-
...or you can use a plugin that can import a project from a build system, such as Maven. I know we have a 13-project (parent and 12 children) Maven setup that Eclipse seems to be able to build just fine.
Then again, we have it structured in such a way that all the code projects get compiled first before the Web Application project gets compiled, after which the Enterprise Application packaging project get "compiled".
I'm not sure why we build an EAR file these days as we've removed the part of the project that we used to need the EAR for... the WAR alone should be fine.
-
You set out your dependancies in the manifest and let the ide and build tool automagically find the other projects.
Well ok, but how do you get the IDE to automatically put the two related projects in the same workspace? For example, if you have a new employee?
In Visual Studio, you just double-click the solution file and it's all there. Bam. You can check-in the solution file and nobody'll get screwed over by absolute paths. Bam. You can hit "build" and it knows the relationship between all the projects and will build them in the correct order. Bam.
Bam.
-
-
Well ok, but how do you get the IDE to automatically put the two related projects in the same workspace? For example, if you have a new employee?
Oh, right... I get you now. I've not tried it, but maybe this works for that:
...or you can use a plugin that can import a project from a build system, such as Maven. I know we have a 13-project (parent and 12 children) Maven setup that Eclipse seems to be able to build just fine.
We only have one project which does anything with Maven, and it's got no dependencies on other projects, so I've not ever tried using it that way.
-
Bam.
-
We only have one project which does anything with Maven, and it's got no dependencies on other projects, so I've not ever tried using it that way.
That doesn't work either, because conceptually you could have two projects that don't share any dependencies or code, but still belong in the same (what Visual Studio would call) solution. (For example, one is a Windows Service and the other is a website, and the only thing they have in common is they work with the same database.)
-
Hmm, fair point.
I don't use VS but it does sound like something it makes easier then.
-
And I think it's safe to say Eclipse is pretty much the only holdout IDE that doesn't have a mechanism like that.
Which would be mind-boggling if I expected any Java programs to be non-shitty, but I don't, so it's kind of par for the course.
-
That's where the clusterfuckery can kick in actually or at least in a place I worked.
Clone from git - ok ignoring git for the moment
branch from git - ok I'm ignoring git problems again
Folder with 50 folders each representing a project - ffs
eclipse offers an import tool that handle importing the whole folder at once and that is where you get 50 absolute paths in eclipse. From there the tool can resolve everything relative to the projects in the workspace but yeah move the top level folder or any sub folders and you're buggered.Maven makes it easier. you would just import the pom from the from the top level project and it will import the rest of projects and manage everything for you giving you one absolute path.
Surely its the same in VS. If you decide to move the folder the project file is in the whole thing breaks.
-
Surely its the same in VS. If you decide to move the folder the project file is in the whole thing breaks.
Visual Studio is very good at not embedding absolute paths in solution files. I've not yet seen a case where a team member had a problem that was traced back to him having a different folder structure than everyone else.
-
@DogsB said:
I've never seen this in eclipse either. I have seen it in shoddily programed plugins for eclipse where they didn't save it as a property of the project but in some store in the temp folder for christ knows why.Surely its the same in VS. If you decide to move the folder the project file is in the whole thing breaks.
Visual Studio is very good at not embedding absolute paths in solution files. I've not yet seen a case where a team member had a problem that was traced back to him having a different folder structure than everyone else.
*edit
Actually I remember two incidents.- where a developer didn't include a 3rd party library in a pom. He had manually downloaded the jar and created an external reference to the jar instead.
- a weird incident where the build tool couldn't pick up on a project because the name of the project was different to the folder name. Someone renamed a folder in git but somehow saved the new folder but not the deleteion of the folder. Then some clever clogs deleted unnecessary folder and it turned out we had a dependancy on a project that was almost 4 months out of date and unearthed a slew of cannot reproduce bugs.
-
Surely its the same in VS. If you decide to move the folder the project file is in the whole thing breaks.
I've never experienced that. Every developer here checks-out the repo to a unique path (some with-- gasp!-- spaces in them), we've never had a problem caused by that.
-
That shouldn't be impressive but almost every foss tool I've used has that problem.
Also remember to something to your path. Really you can't do that in the installer?
Missing dependancies? Well if you read page 3232 of 3888 of the reference you would know.
-
I remember mocking the Firefox build instructions a few months ago because it started with a note saying if you don't put it in THIS EXACT PATH, the build will fail in strange and mysterious ways.
-
@Lorne_Kates said:
Extraordinary stupidity don't require even minimal refutation.
Which is why I shouldn't have bothered requesting clarification.
Exactly. You were an idiot for your original thought, and a bigger idiot for doubling down on it. Glad you finally understand. It's the first step in becoming not-an-idiot.
-
@Lorne_Kates said:
Exactly. You were an idiot for your original thought, and a bigger idiot for doubling down on it. Glad you finally understand. It's the first step in becoming not-an-idiot.
You're still projecting. You may want to get help for that.
-
@Lorne_Kates said:
Exactly. You were an idiot for your original thought, and a bigger idiot for doubling down on it. Glad you finally understand. It's the first step in becoming not-an-idiot.
You're still projecting. You may want to get help for that.
No, projecting is a perfectly cromulant stage technique. It's so the people in the back can hear me explaining to you that you're an idiot.
#Antiquarian Is... An Idiot
-
-
-
The interviewer still had the gaul
http://1dex.ch/wp-content/uploads/2014/06/Asterix-300x233.gif
-
@anonymous234 said:
Can I make a "cunning linguist" joke here or is that too childish?
@Lorne_Kates said:
PERFORMING ORAL SEX ON A WOMAN!
I don't get it.
-
Since I'm too lazy to search for this one. Who thought it would be a good idea to allow spaces in file paths and for it to be used as a delimiter at the same time?
Well, spaces as a delimiter came first, back in the olden days when computers were made of wood. I mean, seriously, who needs more than 8 characters for a directory name?
-
I mean, seriously, who needs more than 8 characters for a directory name
You mean like "Progra~1"
-
-
On the subject of Java IDEs, I use IntelliJ IDEA
Which is insanely good. PyCharm, their Python IDE is on the same level. (Using an IDE for Python is a only until encountering a big enough Python project to need refactoring features etc. At which point the project itself becomes TR . Personal experience. I was all 'Let's do it in Python' and then became a little less enthusiastic when most of our runtime errors turned out to be of the type that are caught at compile-time in C++, C#, Java. And this was not even a very big project.) Android Studio is also based on IntelliJ and great, the Android team ran from Eclipse as fast as they could.
-
That's why my name in shitty JRPGs is always "Blakeyra"
-
Ikr? Tsaukpae sounds dumb, and for the ones that allow tenchar (Tsaukpaetr) sounds even worse!
Filed under: Stupid Discourse why can't have A in name
-
Accalia fits nicely.....
-
@TimeBandit said:
You mean like "
Progra~1PROGRAMS"
FTFYIF IT'S CALLED PROGRAM FILES THEN WHY DOES IT CONTAIN PROGRAM FOLDERS?!?! FUCKING MICRO$TUPID!
-
Why does WOW64 contain 32-bit code?
-
-
@Lorne_Kates said:
IF IT'S CALLED PROGRAM FILES THEN WHY DOES IT CONTAIN PROGRAM FOLDERS?!?! FUCKING MICRO$TUPID!
Haven't you ever heard of a file folder?
-
I was 1 year old when Windows 95 was released.
-
Windows 95: code name Chicago
Windows 95 SP1: code name Ben Lubar
-
Would you buy a drill or a buzzsaw based on whether it's beautifully designed, or rather on how well it performs its intended function?
Apropos: The Hole Hawg
-
The Hole Hawg is a drill made by the Milwaukee Tool Company.
Not to be confused with MilwaukeePC.
-
-
My dad owns a sailboat.
-
C
Ca
Cas
Casi
Casim
Casime
Casimer
Casimer t
Casimer th
Casimer the
Casimer the A
Casimer the Ad
Casimer the Ade
Casimer the Adeq
Casimer the Adequ
Casimer the Adequa
Casimer the Adequat
Casimer the Adequate
Casimer the Adequatel
Casimer the Adequately
Casimer the Adequately S
Casimer the Adequately Sk
Casimer the Adequately Ski
Casimer the Adequately Skil
Casimer the Adequately Skill
Casimer the Adequately Skille
-
-
-
-
-
Do tell, what's wrong with transistor radios?
Vacuum"Windows on Win64"
WOW!
tubes or GTFO!
-
@ben_lubar said:
Why does WOW64 contain 32-bit code?
Because System32 is for 64 bit code.
Microsoft : when logic gets thrown out the window
-
Microsoft : when logic gets thrown out the window
What would your solution--bearing in mind a high priority on back-compat--have been, given all the third-party programs that hard-coded looking for executables and DLLs in system32?
It's easy to complain. It's easy to say "fuck the end user, we'll just break compatibility with all their apps". It's a lot harder to come up with a viable solution.
Here's an idea I don't suggest is necessarily good: 32-bit version of executables contain an alternate data stream named something like "wow64" with a 64-bit version of same executable.
-
@Spanky587 said:
@ben_lubar said:
Why does WOW64 contain 32-bit code?
Because System32 is for 64 bit code.
Microsoft : when logic gets thrown out the window
I have a few wtfs involving mixing and matching 64 bit and 32 bit on centos if you want them. Actually just one but its a lot of fun.
-
What bothers me about both Eclipse and NetBeans is that they seem tremendously overengineered.
They both actually advertise themselves as general-purpose platforms. How do you set off to write an IDE and end up with this?!
-
given all the third-party programs that hard-coded looking for executables and DLLs in system32?
Assuming system32 already contained the 32bits DLLs, what is the reasoning behind changin it to contain 64bits DLLs ?
If the 32bits executable hardcoded the path to it, what problem does changing it to contain 64bits DLLs would fix ?It would make a lot more sense to create a system64 folder to contain 64bits DLLs.
Please explain the logic for that, as I can't find any.
-
What bothers me about both Eclipse and NetBeans is that they seem tremendously overengineered.
I have no idea to be honest. I suspect they started compartmentalizing stuff and started spinning different things off into their own projects. If you look at eclipse market place everything is a plugin. The java ide (JDT) is a set of plugins of its own. You can have the workbench with four of five plugins but the multi project plugin stuff is even less so you would headlessly test your application without the loading the workbench.They both actually advertise themselves as general-purpose platforms. How do you set off to write an IDE and end up with this?!
Assuming system32 already contained the 32bits DLLs, what is the reasoning behind changin it to contain 64bits DLLs ?If the 32bits executable hardcoded the path to it, what problem does changing it to contain 64bits DLLs would fix ?
You've never tried mixing and matching 64bit with 32bit have you?