Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 87954 Details for
Bug 216684
[batch][compiler] ecj behaves differently than javac wrt -sourcepath and -classpath options
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
The script to run
Bug3.sh (text/plain), 1.04 KB, created by
Olivier Lefevre
on 2008-01-26 18:15:10 EST
(
hide
)
Description:
The script to run
Filename:
MIME Type:
Creator:
Olivier Lefevre
Created:
2008-01-26 18:15:10 EST
Size:
1.04 KB
patch
obsolete
>#!/bin/sh > ># NB: This script assumes cygwin, hence the brain damage with paths; ># it could be simplified if run under Unix. > >ROOT=$1 >SRC=`cygpath -w "$ROOT\\src"` >BIN=`cygpath -w "$ROOT\\classes"` >JAVA_HOME=/c/Java/j2sdk1.6.0 >ECJ_HOME="c:\\Java\\eclipse-3.4M4" > ># creating the directory structure and the test files > >cd $ROOT >rm -rf src >mkdir -p src/pkg > >cat > src/pkg/Foo.java << EOF >package pkg; >public interface Foo { } >EOF > >cat > src/pkg/Bug3.java << EOF >package pkg; >public class Bug3 { > static void test(Foo foo) { } >} >EOF > ># compiling with javac > >rm -rf classes >mkdir classes > >alias javac_test='$JAVA_HOME/bin/javac -classpath "$BIN" -d "$BIN" -sourcepath "$SRC"' > >javac_test src/pkg/Foo.java >javac_test -verbose src/pkg/Bug3.java > log_javac 2>&1 > ># compiling with ecj > >rm -rf classes >mkdir classes > >alias ecj_test='$JAVA_HOME/bin/java -jar "$ECJ_HOME\\ecj.jar" -1.6 -classpath "$BIN" -d "$BIN" -sourcepath "$SRC"' > >ecj_test src/pkg/Foo.java >ecj_test -verbose src/pkg/Bug3.java > log_ecj 2>&1 > >exit 0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 216684
: 87954 |
92463