• 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
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

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

 
Ranch Hand
Posts: 1172
5
  • 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: 65365
248
  • 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 Hand
Posts: 1172
5
  • 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: 65365
248
  • 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 Hand
Posts: 1172
5
  • 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: 4208
47
  • 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: 10494
224
  • 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.
 
Bartender
Posts: 20980
128
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 Hand
Posts: 1172
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. I understood that is of the IDE and not the language.
 
This parrot is no more. It has ceased to be. Now it's a tiny ad:
create, convert, edit or print DOC and DOCX in Java
https://products.aspose.com/words/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!