Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed #1, Patch UI to fit to screen & added eclipse configs to help new developers to start quickly #2

Open
wants to merge 34 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
7fca7b8
added launch
dpalic Sep 19, 2014
1d87747
enhanced UI
dpalic Sep 20, 2014
160b483
enhanced to be quickly startable for new users
dpalic Sep 20, 2014
463616c
added activator to ensure a proper init of the plugin (e.g. a logger)
dpalic Sep 21, 2014
f8a6a5f
fixed bug, that at startup the logger was not initialized.
dpalic Sep 21, 2014
d088052
fixed toLowerCase since it is not working on linux/mac
dpalic Sep 21, 2014
cf5d9ce
fixed two bugs
dpalic Sep 21, 2014
df36fb9
added eclipse settings to have all developers same coding style
dpalic Sep 21, 2014
7c1e43f
format code
dpalic Sep 29, 2014
e811a02
added for type safe access to the attributes of the classpaths
dpalic Sep 29, 2014
bc75035
tried to add stored container handling
dpalic Sep 29, 2014
a25bd4b
moved dirContainer code to dirContainer
dpalic Sep 29, 2014
c802b63
improved code and provided more static methods for external accesses to
dpalic Sep 29, 2014
760be22
added previous fixed version
dpalic Sep 29, 2014
cde3ae9
upgraded to new major version, since the changes are a lot
dpalic Sep 29, 2014
23c460e
added details about the changes
dpalic Sep 29, 2014
cab3fa2
renamed method to be more clear
dpalic Sep 30, 2014
2a9e6c4
fixed issue there this class MUST be immutable on getting the
dpalic Sep 30, 2014
9e3d450
latest comment
dpalic Sep 30, 2014
d2decd8
added new version
dpalic Sep 30, 2014
191a7f2
moved
dpalic Sep 30, 2014
7b18c38
added newer link
dpalic Sep 30, 2014
d34c5d3
updated readme to provide install instructions
dpalic Oct 16, 2014
d7dc43f
added
dpalic Jan 21, 2015
9c820ee
moved to subdir
dpalic Jan 21, 2015
2c9ed1c
added again to ignore
dpalic Jan 21, 2015
a3fc9eb
added sorting to the libs
dpalic Jan 21, 2015
bfef505
added deps for updatesite
dpalic Jan 21, 2015
778dcd0
added ignore
dpalic Jan 21, 2015
436458e
reduced dependencies
dpalic Jan 21, 2015
f19c98a
created updatesite
dpalic Jan 21, 2015
f775dd3
created updatesite
dpalic Jan 21, 2015
ef51dab
moved to proper place
dpalic Feb 23, 2015
8c983a5
updated links
dpalic Feb 23, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
bin/*
build/*
/bin
/target
.metadata/*
.recommenders/*
RemoteSystemsTempFiles/*
26 changes: 20 additions & 6 deletions README
Original file line number Diff line number Diff line change
@@ -1,20 +1,34 @@
This is an Eclipse plugin that allows creating a dynamic Classpath Container that observes a folder
and loads all .jar (or .zip etc) files into the classpath.
and loads all .jar (or .zip etc) files into the classpath. This plugin is helpful to use a bunch of jar files in one folder as your classpath, without setting it manually.
We use it to get rid of the buggy IvyDE plugin for our IVY dependency management.

It is an evolution of original code I got from here:

https://www.ibm.com/developerworks/opensource/tutorials/os-eclipse-classpath/

Thus it originates from Aaron Tarter (aarontar@us.ibm.com).

The primary modification I made (besides renaming things to no longer say 'example') was making it handle
The primary modification Ben Christensen made (besides renaming things to no longer say 'example') was making it handle
filenames that had multiple dots (such as com.company.library.name.v2.jar).

The improvements I made (Darko Palic) are to allow multiple directory containers in the classpaths and of course therefore in the eclipse launches.
The previous version had bigger issues about it.

The binary in downloads on GitHub just needs to be dropped into the eclipse /plugins/ folder and it will
then allow adding a "Directory Container" library to the Java Build Path.

https://github.com/downloads/benjchristensen/SimpleDirectoryContainer_EclipsePlugin/DirectoryClasspathContainer_1.0.0_EclipsePlugin.jar
You can find the latest verion here:
https://github.com/dpalic/SimpleDirectoryContainer_EclipsePlugin/tree/master/SimpleDirectoryContainer_EclipsePlugin/ExportedPlugin

or directly (but maybe outdated):
https://github.com/dpalic/SimpleDirectoryContainer_EclipsePlugin/tree/master/SimpleDirectoryContainer_EclipsePlugin/ExportedPlugin/DirectoryClasspathContainer_1.1.3.jar

I created this jar by exporting a "Deployable plug-ins and fragments" from Eclipse at the project level.

Hope it helps someone other than me.
###############
# INSTALLATION
###############
1. Download the latest jar file (see above)
2. stop your eclipse (ensure it is really stopped in taskmanager)
3. put the downloaded jar file into your eclipse\plugin folder
4. restart your eclipse
5. in Eclipse go to you Java Build Path settings and go to the tab Libraries
6. "Add Library..." will provide you now a new entry "Directory container"
17 changes: 17 additions & 0 deletions SimpleDirectoryContainer_EclipseFeature/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>SimpleDirectoryContainer_EclipseFeature</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.pde.FeatureBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.FeatureNature</nature>
</natures>
</projectDescription>
34 changes: 34 additions & 0 deletions SimpleDirectoryContainer_EclipseFeature/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
This is an Eclipse plugin that allows creating a dynamic Classpath Container that observes a folder
and loads all .jar (or .zip etc) files into the classpath. This plugin is helpful to use a bunch of jar files in one folder as your classpath, without setting it manually.
We use it to get rid of the buggy IvyDE plugin for our IVY dependency management.

It is an evolution of original code I got from here:
https://www.ibm.com/developerworks/opensource/tutorials/os-eclipse-classpath/
Thus it originates from Aaron Tarter (aarontar@us.ibm.com).

The primary modification Ben Christensen made (besides renaming things to no longer say 'example') was making it handle
filenames that had multiple dots (such as com.company.library.name.v2.jar).

The improvements I made (Darko Palic) are to allow multiple directory containers in the classpaths and of course therefore in the eclipse launches.
The previous version had bigger issues about it.

The binary in downloads on GitHub just needs to be dropped into the eclipse /plugins/ folder and it will
then allow adding a "Directory Container" library to the Java Build Path.

You can find the latest verion here:
https://github.com/dpalic/SimpleDirectoryContainer_EclipsePlugin/tree/master/ExportedPlugin

or directly (but maybe outdated):
https://github.com/dpalic/SimpleDirectoryContainer_EclipsePlugin/raw/master/ExportedPlugin/DirectoryClasspathContainer_1.1.2.jar

I created this jar by exporting a "Deployable plug-ins and fragments" from Eclipse at the project level.

###############
# INSTALLATION
###############
1. Download the latest jar file (see above)
2. stop your eclipse (ensure it is really stopped in taskmanager)
3. put the downloaded jar file into your eclipse\plugin folder
4. restart your eclipse
5. in Eclipse go to you Java Build Path settings and go to the tab Libraries
6. "Add Library..." will provide you now a new entry "Directory container"
1 change: 1 addition & 0 deletions SimpleDirectoryContainer_EclipseFeature/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bin.includes = feature.xml
27 changes: 27 additions & 0 deletions SimpleDirectoryContainer_EclipseFeature/feature.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="SimpleDirectoryContainer_EclipseFeature"
label="SimpleDirectoryContainer_EclipseFeature"
version="1.1.3.qualifier"
provider-name="com.xenovation">

<description url="http://www.example.com/description">
[Enter Feature Description here.]
</description>

<copyright url="http://www.example.com/copyright">
[Enter Copyright Description here.]
</copyright>

<license url="http://www.example.com/license">
[Enter License Description here.]
</license>

<plugin
id="DirectoryClasspathContainer"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

</feature>
4 changes: 2 additions & 2 deletions .classpath → ...rectoryContainer_EclipsePlugin/.classpath
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>
4 changes: 4 additions & 0 deletions SimpleDirectoryContainer_EclipsePlugin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
bin/*
build/*
/bin
/target
File renamed without changes.
Loading