Questions tagged [external]

This tag refers to something that is outside of a particular system. In other words, it is something that is not a part of the main system and therefore can be considered "extra".

A software system has certain components making up the system and all the rest of the world is external to that system. Often systems allow to access manipulate things outside the system with or using the system. Those things are attributed as external.

Typical examples are

  • databases accessing external data, e.g. flat files for importing the data into the database or for exporting data.

  • external storage like hard drives that are not build into a computer but added via some interface technology

  • when accessing some script not part of the current html page, that script is external

3400 questions
49
votes
2 answers

How do you dynamically compile and load external java classes?

(This question is similar to many questions I have seen but most are not specific enough for what I am doing) Background: The purpose of my program is to make it easy for people who use my program to make custom "plugins" so to speak, then compile…
Shadowtrot
  • 710
  • 1
  • 7
  • 13
48
votes
6 answers

Nested/Inner class in external file

I have a class MyClass and an inner class MyNestedClass like this: public class MyClass { ... public class MyNestedClass { ... } } Both classes are very long. Because of that i'd like to seperate them in two different files, without…
Alp
  • 29,274
  • 27
  • 120
  • 198
48
votes
8 answers

PHP ini file_get_contents external url

I use following PHP function: file_get_contents('http://example.com'); Whenever I do this on a certain server, the result is empty. When I do it anywhere else, the result is whatever the page's content may be. When I however, on the server where the…
arik
  • 28,170
  • 36
  • 100
  • 156
48
votes
7 answers

Can I load external stylesheets on request?

$.getScript('ajax/test.js', function() { alert('Load was performed.'); }); .. like the above code which loads an external JS on request, is there something similar available to load an external CSS stylesheet when required? Like for example when…
eozzy
  • 66,048
  • 104
  • 272
  • 428
47
votes
6 answers

Eclipse: How to build an executable jar with external jar?

I am trying to build an executable jar program which depends on external jar downloaded. In my project, I included them in the build path and can be run and debug within eclipse. When I tried to export it to a jar, I can run the program but I can't…
Ben
40
votes
5 answers

Adding external JAR to Maven project in NetBeans

When I right click on my Maven project and choose the Add dependency option and I type my external jar's name in query, it is not found. How to add external jar to a Maven project?
SSV
  • 860
  • 3
  • 11
  • 25
37
votes
4 answers

Externalizing Grails Datasource configuration

Grails 1.x allows using external configuration files by setting the grails.config.locations directive. Is there a similar approach available for externalizing the database configuration in Datasource.groovy (without setting up JNDI)? It would prove…
miek
  • 3,446
  • 2
  • 29
  • 31
35
votes
3 answers

Can I change a table from internal to external in hive?

I created a table in hive as a managed table, but it was supposed to be external, is it possible to change the table type of the table without losing the data?
George TeVelde
  • 1,561
  • 2
  • 12
  • 13
34
votes
4 answers

RAILS link_to external site, url is attribute of user table, like: @users.website

I'm working on a website that allows users to create an account. One of the attributes when creating a user is a users personal website. When I try to use the users website like this: <%= link_to @user.site, @user.url %> The url that gets generated…
thedeepfield
  • 6,138
  • 25
  • 72
  • 107
33
votes
2 answers

eclipse, refresh files edited by external editor

I currently use emacs to edit .java files and run eclipse. Eclipse doesn't automatically recognize modified files, so I often end up running unmodified application. I wonder if there exists a shortcut to refresh all the modified files in eclipse.
eugene
  • 39,839
  • 68
  • 255
  • 489
32
votes
6 answers

Python: Create Dictionary from Text/File that's in Dictionary Format

I'd like to create a dictionary from a text file that I have, who's contents are in a 'dictionary' format. Here's a sample of what the file contains: {'fawn': [1], 'sermersheim': [3], 'sonji': [2], 'scheuring': [2]} It's exactly this except it…
Jared
  • 878
  • 3
  • 11
  • 19
32
votes
2 answers

jquery: how to include other .js-files into .js

Is there any jquery plugin (instead of incldeMany) or simple function to include js-files on demand ? for example: $.include('myscript.js'); ?
Heinrich
  • 751
  • 2
  • 8
  • 6
31
votes
4 answers

Python - how do I call external python programs?

I'll preface this by saying it's a homework assignment. I don't want code written out for me, just to be pointed in the right direction. We're able to work on a project of our choice so I'm working on a program to be a mini portfolio of everything…
31
votes
2 answers

Loading external script with jinja2 template directive

I'm very new to jinja2 and the use of templates in general so I was wondering if there's an easy way to load an external javascript. I was thinking of using: {% block javascript %} {% endblock %} But I can't…
kirbuchi
  • 2,274
  • 2
  • 23
  • 35
31
votes
2 answers

Use Jinja2 template engine in external javascript file

I working on a web project using Python and Flask. I was just wondering if I can access parameters sent by python in my external javascript files? It's working well with html files or with js embedded in html files but not when javascript is…
Loric
  • 1,678
  • 8
  • 28
  • 48