Questions tagged [self-contained]

Self-contained in programming can refer to a script, program or a library that is completely independent and contains everything necessary within its code.

Self-contained in programming can refer to a script, program or a library that is completely independent and contains everything necessary within its code. This is very useful in programming when creating libraries, as this makes them completely modular, and therefore easy to migrate from one project to another.

101 questions
22
votes
1 answer

Creating self-contained python applications

I'm trying to create a self-contained version of pisa (html to pdf converter, latest version), but I can't succeed due to several errors. I've tried py2exe, bb-freeze and cxfreeze. This has to be in windows, which makes my life a bit harder. I…
changelog
  • 4,646
  • 4
  • 35
  • 62
21
votes
3 answers

Publish .NET Core App As Portable Executable

I have a simple .net core app and publish it by following command: dotnet publish -c Release -r win10-x64 SqlLocalDbStarter.csproj Exe
Soheil Alizadeh
  • 2,936
  • 11
  • 29
  • 56
21
votes
3 answers

Self-Contained Applications, built in Java

I've watched a few online presentations that briefly mentioned self-contained applications in Java 9, but I have a question that I would like cleared up. With the new module system, you're now allowed to only include the minimum amount of code…
Jacob G.
  • 28,856
  • 5
  • 62
  • 116
10
votes
2 answers

Is possible to deploy a self contained .NET Framework application?

I'm developing a C#.Net application that uses the .Net Framework but I'm having trouble when users are installing the application on their computers. Some of them just don't know how to install the .Net Framework. I'm searching for a solution to…
underthevoid
  • 513
  • 1
  • 6
  • 17
5
votes
2 answers

Recursive output of self static contained subclass of string in gdb print command

everyone, I am using OpenFOAM and it made its own Foam::string and Foam::word type like this: (gdb) ptype Foam::word type = class Foam::word : public Foam::string { public: static pointer typeName; static int debug; static const…
CatDog
  • 415
  • 6
  • 12
5
votes
5 answers

Creating a self-contained source release with Maven

Up until now we used Ant in my company. Whenever we wanted to send the application to the client we run a special Ant script that packaged all our source code with all jar libraries and Ant itself along with a simple batch file. Then the client…
kazanaki
  • 7,988
  • 8
  • 52
  • 79
4
votes
1 answer

why .net core self contained app depends on runtimeconfig.dev.json

I'm using .net core to build a self contained application accroding to following guide: 1. create a new .net core Console app: https://www.microsoft.com/net/learn/get-started/windows 2. follow these step to publish application with…
Wang Zhengzhang
  • 163
  • 1
  • 3
  • 6
4
votes
1 answer

How can JWT be verified outside the authorization server

Recently, I'm trying to implement an OAuth2.0 server using JSON Web Token (JWT) as access token. I'm very confused about the self-contained feature of JWT. I notice that JWT can be verified anywhere, not mandatorily in authorization server because…
Hou Lu
  • 3,012
  • 2
  • 16
  • 23
4
votes
0 answers

Self-Contained Application Packaging for java swing maven project in eclipse

I want to make a self-contained package (including jre 8). I have a Maven project developed in Eclipse. I have read that JavaFX has support for building towards different platforms (Windows, Mac, Linux). What is the best way forward? I know there…
4
votes
1 answer

How to add "-ext WixUIExtension " to ant script in Netbeans?

This is output of my native build script in JavaFX, Netbeans IDE. This is default build via Netbeans. Running [light, -nologo, -spdb, -sice:60, C:\Users\Firma\AppData\Local\Temp\build7911949220829827228.fxbundler\tmp\Client.wixobj, **-ext,…
kingkong
  • 1,537
  • 6
  • 27
  • 48
4
votes
1 answer

JavaFx 2 - Self Contained Applications and their preferences, database, etc

Let say i have a cross-platform runnable application This application create then read/write some data and preference in external files Bundle hierarchy is as…
Badisi
  • 469
  • 1
  • 3
  • 12
3
votes
2 answers

dotnet core 3.x PublishSingleFile: Temp files get deleted

We are providing an application as a self-contained dotnet core 3.1 single executable file. The exe is running as a service on various Windows Servers: Server 2012 64 bit Server 2016 64 bit Server 2019 64 bit After some time of running (a week and…
Sebastian
  • 1,569
  • 1
  • 17
  • 20
3
votes
1 answer

How to run self-contained .NET Core tests?

I have an MSTest project that works fine when being executed with: dotnet test --logger "trx;LogFileName=Result.trx" --settings tests.runsettings I am also able to build a self-contained app out of it with: dotnet publish -c Release -f…
ThisWillDoIt
  • 380
  • 6
  • 24
3
votes
1 answer

self-contained ASP.Net Core app doesn't run on Mac

Any idea how I can find the cause of this issue? Mac terminal just responds with "command not found" trying to run an ASP.NET core app published using self-contained deployment. using .NET Core SDK v.1.1 the app is just demo code taken from this…
Ossan Dust
  • 125
  • 2
  • 5
3
votes
1 answer

Run migrations in self-contained applications

I have created a self-contained application with dotnet: dotnet publish -c release The deployment package contains .net core runtime itself - so if somebody wants to use app - doesn't need to install .net core runtimes separately. But my question…
pwas
  • 3,225
  • 18
  • 40
1
2 3 4 5 6 7