• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Is there any equivalent in Java of .sln file of C#?

 
Ranch Foreman
Posts: 1802
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In C# there is 1  .sln file for the solution. Is there any equivalent of .sln file in Java?

Thanks
 
Marshal
Posts: 70644
288
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is a .sin file? Is it a counterpart of a .jar?

Not a “Beginning Java┬«” question. Moving to our C# forum.
 
Monica Shiralkar
Ranch Foreman
Posts: 1802
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is not  .SIN file. It is .SLN file.  There is 1 . SLN file for all projects in a solution.


The equivalent of of  .jar of java is   DLL  not  .SLN file.
 
Campbell Ritchie
Marshal
Posts: 70644
288
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So what is an sln file (now I know its correct name ‍)? I haven't see anything like that in Java┬«, no. It isn't some sort of .war file, I presume?
 
Monica Shiralkar
Ranch Foreman
Posts: 1802
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If we have multiple projects inside an application then all these projects come under a solution and there is a. SLN file associated with this solution. You click on this. SLN file in the folder and it will open the whole group in visual Studio that is all the projects of the solution will get opened.
 
Master Rancher
Posts: 4700
49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's a Visual Studio file.
It's not C# specific.
 
Saloon Keeper
Posts: 12428
269
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As Dave said, it's not specific to C#, but instead to Visual Studio. The .sln extension stands for "solution". A solution is not much more than a collection of project references. It tells your IDE which projects you want to open at the same time, and which of them is your main project.

In NetBeans it would be similar to a "project group". I don't know how other IDEs call it. Usually IDEs don't store project groups in separate files, but somewhere in the IDE configuration settings instead.
 
Saloon Keeper
Posts: 22649
153
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Stephan van Hulst wrote:
In NetBeans it would be similar to a "project group". I don't know how other IDEs call it. Usually IDEs don't store project groups in separate files, but somewhere in the IDE configuration settings instead.



In Eclipse, it would be the ".project" file, which defines the project. In IntelliJ, they kept 2 files - one for the project itself, and one for the individual user's saved project context. That is, remembering stuff like what files a user was looking at and other things to make life easier, but not actually required to build the project.

Because the filenames used by Eclipse and IntelliJ are different, I have on occasion built multi-IDE projects, where a developer could use either Eclipse or IntelliJ to do their work.

But my standard for production builds is that they be done from the command line (for example via Maven, and possibly launched by Jenkins), none of those files were required or used for production builds.
 
Monica Shiralkar
Ranch Foreman
Posts: 1802
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. I understood that is of the IDE and not the language.
 
When all four tires fall off your canoe, how many tiny ads does it take to build a doghouse?
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic