How to bundle LGPL libraries into commercial Eclipse-based application? [closed] - eclipse

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
I'm going to bundle several LGPL libraries into commercial Eclipse-based application as plug-ins (I generate plug-in from an existing Jar for each library). My application is not LGPL, and it's closed source app. After reading point (6) of the LGPL license I've understood that I have either to include source plug-ins for every LGPL library or provide a link to the source code of these libraries (BTW, where these links must be provided, in About dialog?). Am I correct? Is there an example for such an application?
Thanks!

I don't know of an example, but yes you are correct. I don't think the LGPL specifies the exact means that the software should be published in. EPL has a similar requirement for publishing the source code if you have modified their stuff, and I have heard that a standard thing for IBM to do for example is have a zip file of the sources available somewhere on their site or with the product distribution.
So long as it's clear where to find the source, I don't think it matters much exactly how you publish it. And if you have not modified the LGPL source, then you can refer to some place where it is published. You only need to actually publish it if you have modified it in some way (or its not published elsewhere).

Related

Swift code to class diagram [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 11 months ago.
Improve this question
Is there a way to generate UML Class diagram for swift programming language? I found that the Mac A&D tool claims to be able to scan the swift code and create a class diagram. And there is a video to introduce it.
https://wn.com/swift_code_to_class_diagram
Unfortunately, it is not free. I wonder if there is another free tool to generate class diagram automatically. Could you guys help me? Thanks in advance.
UML class diagrams for Xcode (swift programming)
I recently found a free tool, that gets you a decent start on this.
Take a look at this tutorial https://martinmitrevski.com/2016/10/12/swift-class-diagrams-and-more/
and here is the github repo https://github.com/yoshimkd/swift-auto-diagram.
I found its best if you open the diagram.html in chrome vs firefox. And if you see the little circles, just let it run until its finished. It takes a few minutes on my project.
There are a number of free and open-source tools but those often require the user to manually install additional dependencies (e.g. NodeJS, Graphviz or Python). Some of the projects are no longer maintained and are limited when it comes to functionality. And none of these tools were written in Swift.
So I started to work on such utility myself.
Xcode extension: https://github.com/MarcoEidinger/SwiftPlantUML-Xcode-Extension
You are able to generate a class diagram from selected lines of code or from a whole file displayed in Xcode. The class diagram will then be opened in your browser. There you can modify the diagram with PlantUML notation
To generate a class diagram from multiple source files you can use the underlying CLI tool and Swift Package: https://github.com/MarcoEidinger/SwiftPlantUML
There is a size limitation to the visible diagram content (but you can delete content in the browser with PlantUML notation)
I found a tool that works quite well for swift projects: https://swiftalyzer.com
It's free but time limited.

Finding Common Lisp Libraries [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'm using QuickLisp to load Common Lisp libraries. However, there are many libraries that all do similar things. For example, there are many libraries that all deal with parsing a CSV file.
Are there any resources you use to check which libraries meet your needs? How do you determine if a library is still being supported? Are there any heuristics short of visiting individual libraries's websites?
I'm aware of http://www.cliki.net/, which provides some recommendations.
There are two separate questions:
Are there any resources you use to check which libraries meet your
needs?
I just use the library's official documentation, or quickdocs as mentioned earlier. I don't think there are any comparison tables between similar libraries. But you can always ask for help on #lisp on Freenode IRC network (since StackOverflow doesn't like questions like "What's the best CL library for parsing CSV?")
How do you determine if a library is still being supported? Are there any heuristics short of visiting individual libraries's websites?
If a library is on Quicklisp then it is supported. Unsupported libraries usually drop out soon enough. Xach (Quicklisp's developer and maintainer) makes sure that there is no library in Quicklisp which can't be built on a supported CL implementation.
you can try http://quickdocs.org/
it contains a number of references to widely used libraries from quicklisp, shows their last update time and some documentation. As for me, it was nice starting point to avoid the choice paralysis

Common way to download open source projects [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
How many different way there is download open source projects in order to modify and rebuild them (directly in editors like eclipse and maven).
The short answer is "a lot".
Seriously it depends on the project. If for example project is developed by individual and not published at any public repository and exists on his hard drive only you do not even have a chance to know that the project exists.
If however the project is published in public repository it depends on the repository. The most popular way to develop open source projects these days is GitHub. If project is there you can always clone the repository and do what you want. Building the project depends on its author. If he/she uses "standard" build tools (maven, gradle etc) it is not a problem. Otherwise it depends...
If you do not want to modify the project but just want to include it as a dependency of your project it depends on the programming language. Java libraries are typically available in maven repository but it is up to the library author.
Please do not hesitate to ask more concrete questions.
I am a little confused on your question but it sounds like what ways there are to download projects.
Usually finding an SVN or GIT plugin would do the trick if you want to download it directly to the editor.

Developing plugins for AutoCAD? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'm thinking about starting to develop a plugin for AutoCAD, but I have absolutely no knowledge of the field. How does the plugin system work? What are the licensing terms? What programming platforms are available?
I'd really appreciate if somebody could give me a primer, or, even better, link to some resources for the total beginner I am.
Thanks!
Prior to AutoCAD 2014, there were three basic plugin types for AutoCAD:
AutoLisp
.Net
ObjectARX
AutoCAD 2014 also provides:
4. Javascript API. You can find a link to the documentation at the AutoCAD DevBlog.
AutoLisp can be used with DIESEL scripts/macros to accomplish and automate basically anything that a user can due through the UI, and a maybe a little bit more, but .Net and ObjectARX are much more powerful, allowing you to create your own entities and more advanced behavior.
ObjectARX is a C++ interface, and the .NET classes are actually wrappers to the ObjectARX interface. The .Net interface abstracts things fairly well, but you still have to be concerned with the threading and possibly some other things as you develop more complex applications.
As previously mentioned, Through the Interface is a great blog for .NET stuff.
For ObjectARX, there is a good introduction at ObjectARX & Dummies, but for the deeper material the Developers Forums are a good resource.
If you are developing anything for people other than yourself, you should also seriously consider getting a registered developer symbol to prevent conflicts among different plugins. You can do that at the Symbols Registration page on the AutoDesk website.
Depending on your resources, you may also want to join the AutoDesk Developers Network (ADN), which provides access to software technical support, and early and beta access to upcoming AutoDesk products and APIs.
What type of application are you thinking of writing? I've written a couple WPF user controls that communicate with AutoCad. To do so, I used the AutoCad .NET Developers Guide found here:
http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer's%20Guide/index.html
This is a great blog to with some good video tutorials on it too.
This is a GREAT video if you just want to get started!

Best regex library for iphone sdk app? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm confused about the regex libraries that are available in the iPhone SDK. For example RegexLite looks like it needs a dynamic link, and from what I understand, this is not possible for the SDK on the iPhone.
I want a RegEx library for data validation... which one is the best available?
Just want to add here that iOS 4 now has NSRegularExpression.
John Englehart (regexkitlite developer) has posted to cocoa-dev saying that apps are being rejected for using it. http://lists.apple.com/archives/Cocoa-dev/2010/Jun/msg00564.html
(Apologies for this purporting to be an "answer", it would be a reply to Kendall Helmstetter Gelner if only I had 49 more reputation points).
RegexKitLite is available and works properly on iPhone either included from source as part of your Xcode project or by linking in a static library (which the ToS of the SDK do permit).
Using RegexKitLite requires dragging only a source and header file into your project, and works really well - it offers most of the features you'd want from a regex library. It's basically just a very thin wrapper around an underlying framework that's already there.
Make sure the source type for header and .m file is "sourcecode.c.objc" after you add them to the project (Use "Get Info" on a given source file and look at the "General" tab).
RegexKitLite uses the regular expression engine provided by the libicucore.A.dylib library. However Apple does not officially support linking directly against this library. See this post to the Xcode-users mailing list for details. However despite this there are many iPhone applications available on the App Store than make use of RegexKitLite, so it's unlikely (but not impossible) that Apple will reject your application for making use of it.
This is a nice lightweight alternative to RegexKitLite: https://github.com/bendytree/Objective-C-RegEx-Categories