Commit Graph

16 Commits

Author SHA1 Message Date
Ben Liblit 401fbaf89a Many improvements to Gradle build support, including within Eclipse 2018-04-17 15:02:35 -05:00
Julian Dolby 3371e23de0 java 8 stuff 2017-08-16 14:50:01 -04:00
Ben Liblit 522c382a19 Use consistent Java versions, usually 1.7
Previously, the various Eclipse projects' Java configurations used
mixtures of 1.6, 1.7, and 1.8.  Many were internally inconsistent,
such as requiring 1.7 in "MANIFEST.MF" but 1.6 in the Eclipse JDT
build preferences.  The Travis-CI configuration tests against both 1.7
and 1.8, but does not test against 1.6.

Across all projects, the most common version was 1.7.  So I'm going to
assume that 1.7 is the intended build target.  This commit makes 1.7
the selected version nearly everywhere.

"com.ibm.wala.core.testdata" is the one exception.  This specific
project uses a few features only found in 1.8, such as lambda
expressions.  Previously, "com.ibm.wala.core.testdata" used 1.7 in
some aspects of its configuration but 1.8 in others.  Now it
consistently targets 1.8.  I wish this one project didn't need to be
inconsistent with the rest of WALA, but at least now it's consistent
with itself.

(Personally, I'd be happy to target 1.8 only.  But my impression
across all of these configuration files is that the WALA developers
still want to be compatible with 1.7.  If that is no longer a
requirement, let me know and I will adjust these changes accordingly
to target 1.8 only.)

This change eliminates 11 "There is no 'jre.compilation.profile' build
entry and the project has Java compliance preferences set" warnings
and 13 "The JRE container on the classpath is not a perfect match to
the 'JavaSE-1.7' execution environment" warnings.  However, it also
adds 450 "Redundant specification of type arguments <...>" warnings
and 17 "Resource '...' should be managed by try-with-resource"
warnings.  So this seems like a net step backward in my wish to reduce
WALA warnings.  However, those new warnings concern Java 1.7 language
features that we were not previously using to good effect in projects
that targeted 1.6.  If we all agree that we can now target 1.7
instead, then we can use these helpful features as the newly-added
warnings suggest.  So I call that a step in the right direction.
2016-11-29 21:29:30 -06:00
Julian Dolby a1bc84356d scandriod merge 2014-10-01 21:32:36 -04:00
Manu Sridharan 00eb1d2bd2 Set all projects to build against Java 6; no semantic change. Fixes #20 2013-04-10 16:01:27 -07:00
rmfuhrer caaec26c5e Removed polyglot dependencies from the bundle manifest and classpath, now that the code dependencies have been moved to another plugin project (com.ibm.wala.cast.java.polyglot).
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3469 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-16 20:18:53 +00:00
msridhar1 5fd0909a7d changed execution environment to J2SE1.5. Fixed some warnings.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3113 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-12-02 17:01:50 +00:00
sjfink 66884c2c37 fix Eclipse 3.4.1 compiler warnings
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3100 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2008-12-01 19:40:43 +00:00
pistoia 66e7e395e5 Exports the polyglot and javacup jars.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1872 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-12 19:22:12 +00:00
sjfink 9b616a965b tweak build order
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1867 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-10-12 15:05:42 +00:00
sjfink 0b0d6588f0 fix a build problem
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1495 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-17 13:38:46 +00:00
sjfink d9ec0292ef fix a build problem
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1480 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-07-16 14:48:53 +00:00
dolby-oss 78881a8db5 export polyglot so that importing projects can use that if they so desire
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1275 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-06-13 19:19:40 +00:00
sjfink 34fa813b47 fix broken build
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@761 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 22:36:05 +00:00
rmfuhrer 87b64d56a7 Removed polyglot-related libs from the classpath (no longer
necessary).

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@758 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:34:53 +00:00
dolby-oss c4b9499bd2 Initial contribution of core script analysis code
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@618 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-02 17:20:09 +00:00