Questions tagged as 'packages'

3
answers

Is there any way to generalize library imports into Java?

I created within a same package called Banco , two classes in Java: ContaSalario and ContaPoupanca . When I'm going to import these two classes into my main class, I do: import Banco.ContaSalario; import Banco.ContaPoupa...
asked by 22.09.2015 / 19:00
2
answers

How to use Packages in Laravel 4?

I am new to the Laravel 4 framework. In Laravel 3 it was simple to use Bundles. In version 4 it was removed the use of the Bundles and started to use Packages, but I did not understand how it is used, even seeing in the documentation. For exampl...
asked by 13.12.2013 / 17:38
2
answers

Import multiple classes from the same package

I wonder if there is any significant difference in doing import java.util.* instead of import java.util.ArrayList; import java.util.Collection; import java.util.Date; import java.util.List; import java.util.logging.Level; import java.util...
asked by 08.02.2017 / 13:04
2
answers

How to create my own composite package in github?

I never distribute a library using a repository with composer, I have no experience with this, what I tried to do is was to create a folder structure like this: ./ |-- composer.json |-- src/ |-- Test/ |-- Foo.php In the% r...
asked by 24.11.2015 / 20:57
2
answers

I can not install IBGEPesq on R to read the PNADs

I just downloaded PNGE 2013 from IBGE - and I tried to open it with the package for R that IBGE made, IBGEPesq. It is available as a .zip file at this address: ftp://ftp.ibge.gov.br/Trabalho_e_Rendimento/Pesquisa_Nacional_por_Amostra_de_Domi...
asked by 22.09.2014 / 12:26
1
answer

Using BASE64 in Java

Problem: I can not import the classes BASE64Decoder and BASE64Encoder , there are N code that use them and when I use them everything that is related does not work just because they are not found. import sun.misc.BASE64Deco...
asked by 27.02.2014 / 16:25
2
answers

How does NodeJS manage package.json in subfolders?

How does NodeJS manage packages.json in sub-folders? You have your normal application but have sub-modules that you want to have your own dependencies, how does Node manage it? Does it create another node_modules and put all files back...
asked by 27.11.2015 / 16:56
2
answers

What is the difference between ~ 0.0.1 and ^ 0.0.1 in the version control of package.json packages?

This code is an example: { "dependencies": { "gulp": "~0.0.1", "browser-sync": "^0.0.1" } }     
asked by 10.02.2017 / 18:10
1
answer

What is a .lock file?

I'm using git to version a project and I noticed when checking for modifications that some .json files have a file with the same name but with different extensions and content. Example: composer.lock , yarn.lock . What are they? What...
asked by 08.02.2017 / 00:36
1
answer

After adding a package as a dependency in another project, referral problems persist

Having created a package and soon after referencing it as a dependency on a project, which is in the same project group, I have problems trying to use the unit references contained in the package. Even after adding addiction. Even af...
asked by 13.10.2014 / 03:01