This patch fails to compile for me:
compile:
[javac] Compiling 23 source files to
/Users/maxcarlson/openlaszlo/trunk/WEB-INF/lps/server/build
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Compiling 506 source files to
/Users/maxcarlson/openlaszlo/trunk/WEB-INF/lps/server/build
[javac]
/Users/maxcarlson/openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/compiler/Compiler.java:540:
cannot find symbol
[javac] symbol : variable StyleSheetCompiler
[javac] location: class org.openlaszlo.compiler.Compiler
[javac] } else if (StyleSheetCompiler.isElement(element)) {
[javac] ^
[javac]
/Users/maxcarlson/openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/compiler/Compiler.java:541:
cannot find symbol
[javac] symbol : class StyleSheetCompiler
[javac] location: class org.openlaszlo.compiler.Compiler
[javac] return new StyleSheetCompiler(env);
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 2 errors
BUILD FAILED
Also, it failed to locate several test files:
max-carlsons-computer:~/openlaszlo/trunk maxcarlson$ ./apply.sh
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/trait/main.lzx
|===================================================================
|--- test/style/trait/main.lzx (revision 0)
|+++ test/style/trait/main.lzx (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 18
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/trait/traits.css
|===================================================================
|--- test/style/trait/traits.css (revision 0)
|+++ test/style/trait/traits.css (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 31
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/elementselector/elementselector-test.lzx
|===================================================================
|--- test/style/elementselector/elementselector-test.lzx (revision 0)
|+++ test/style/elementselector/elementselector-test.lzx (working
copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 56
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/elementselector/elementselectors.css
|===================================================================
|--- test/style/elementselector/elementselectors.css (revision 0)
|+++ test/style/elementselector/elementselectors.css (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 66
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/neighborhood/neighborhoodclasses.lzx
|===================================================================
|--- test/style/neighborhood/neighborhoodclasses.lzx (revision 0)
|+++ test/style/neighborhood/neighborhoodclasses.lzx (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 157
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/neighborhood/thestreet.lzx
|===================================================================
|--- test/style/neighborhood/thestreet.lzx (revision 0)
|+++ test/style/neighborhood/thestreet.lzx (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 193
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/neighborhood/kennedy.css
|===================================================================
|--- test/style/neighborhood/kennedy.css (revision 0)
|+++ test/style/neighborhood/kennedy.css (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 259
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/neighborhood/kennedyfamily.lzx
|===================================================================
|--- test/style/neighborhood/kennedyfamily.lzx (revision 0)
|+++ test/style/neighborhood/kennedyfamily.lzx (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 298
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/neighborhood/neighborhoodtestsuite.lzx
|===================================================================
|--- test/style/neighborhood/neighborhoodtestsuite.lzx (revision 0)
|+++ test/style/neighborhood/neighborhoodtestsuite.lzx (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 476
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/constraints/constraint-test.lzx
|===================================================================
|--- test/style/constraints/constraint-test.lzx (revision 0)
|+++ test/style/constraints/constraint-test.lzx (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 614
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/test/testmanager.js
|===================================================================
|--- test/style/test/testmanager.js (revision 0)
|+++ test/style/test/testmanager.js (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 634
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/trait/main.lzx
|===================================================================
|--- test/style/trait/main.lzx (revision 0)
|+++ test/style/trait/main.lzx (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 647
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/trait/traits.css
|===================================================================
|--- test/style/trait/traits.css (revision 0)
|+++ test/style/trait/traits.css (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 660
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/trait/main.lzx
|===================================================================
|--- test/style/trait/main.lzx (revision 0)
|+++ test/style/trait/main.lzx (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 673
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/trait/traits.css
|===================================================================
|--- test/style/trait/traits.css (revision 0)
|+++ test/style/trait/traits.css (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 686
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/elementselector/elementselector-test.lzx
|===================================================================
|--- test/style/elementselector/elementselector-test.lzx (revision 0)
|+++ test/style/elementselector/elementselector-test.lzx (working
copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 711
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/elementselector/elementselectors.css
|===================================================================
|--- test/style/elementselector/elementselectors.css (revision 0)
|+++ test/style/elementselector/elementselectors.css (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 721
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/elementselector/elementselector-test.lzx
|===================================================================
|--- test/style/elementselector/elementselector-test.lzx (revision 0)
|+++ test/style/elementselector/elementselector-test.lzx (working
copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 746
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/elementselector/elementselectors.css
|===================================================================
|--- test/style/elementselector/elementselectors.css (revision 0)
|+++ test/style/elementselector/elementselectors.css (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 756
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/neighborhood/neighborhoodclasses.lzx
|===================================================================
|--- test/style/neighborhood/neighborhoodclasses.lzx (revision 0)
|+++ test/style/neighborhood/neighborhoodclasses.lzx (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 847
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/neighborhood/thestreet.lzx
|===================================================================
|--- test/style/neighborhood/thestreet.lzx (revision 0)
|+++ test/style/neighborhood/thestreet.lzx (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 883
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/neighborhood/kennedy.css
|===================================================================
|--- test/style/neighborhood/kennedy.css (revision 0)
|+++ test/style/neighborhood/kennedy.css (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 949
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/neighborhood/kennedyfamily.lzx
|===================================================================
|--- test/style/neighborhood/kennedyfamily.lzx (revision 0)
|+++ test/style/neighborhood/kennedyfamily.lzx (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 988
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/neighborhood/neighborhoodtestsuite.lzx
|===================================================================
|--- test/style/neighborhood/neighborhoodtestsuite.lzx (revision 0)
|+++ test/style/neighborhood/neighborhoodtestsuite.lzx (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 1166
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/neighborhood/neighborhoodclasses.lzx
|===================================================================
|--- test/style/neighborhood/neighborhoodclasses.lzx (revision 0)
|+++ test/style/neighborhood/neighborhoodclasses.lzx (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 1257
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/neighborhood/thestreet.lzx
|===================================================================
|--- test/style/neighborhood/thestreet.lzx (revision 0)
|+++ test/style/neighborhood/thestreet.lzx (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 1293
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/neighborhood/kennedy.css
|===================================================================
|--- test/style/neighborhood/kennedy.css (revision 0)
|+++ test/style/neighborhood/kennedy.css (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 1359
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/neighborhood/kennedyfamily.lzx
|===================================================================
|--- test/style/neighborhood/kennedyfamily.lzx (revision 0)
|+++ test/style/neighborhood/kennedyfamily.lzx (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 1398
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/neighborhood/neighborhoodtestsuite.lzx
|===================================================================
|--- test/style/neighborhood/neighborhoodtestsuite.lzx (revision 0)
|+++ test/style/neighborhood/neighborhoodtestsuite.lzx (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 1576
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/constraints/constraint-test.lzx
|===================================================================
|--- test/style/constraints/constraint-test.lzx (revision 0)
|+++ test/style/constraints/constraint-test.lzx (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 1714
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/constraints/constraint-test.lzx
|===================================================================
|--- test/style/constraints/constraint-test.lzx (revision 0)
|+++ test/style/constraints/constraint-test.lzx (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 1852
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/test/testmanager.js
|===================================================================
|--- test/style/test/testmanager.js (revision 0)
|+++ test/style/test/testmanager.js (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 1872
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: test/style/test/testmanager.js
|===================================================================
|--- test/style/test/testmanager.js (revision 0)
|+++ test/style/test/testmanager.js (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
patching file WEB-INF/lps/schema/lzx.rnc
can't find file to patch at input line 1922
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: WEB-INF/lps/lfc/services/LzCSSStyleSheet.js
|===================================================================
|--- WEB-INF/lps/lfc/services/LzCSSStyleSheet.js (revision 0)
|+++ WEB-INF/lps/lfc/services/LzCSSStyleSheet.js (working copy)
--------------------------
File to patch: Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 1958
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: WEB-INF/lps/lfc/services/LzCSSStyle.js
|===================================================================
|--- WEB-INF/lps/lfc/services/LzCSSStyle.js (revision 0)
|+++ WEB-INF/lps/lfc/services/LzCSSStyle.js (working copy)
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
Benjamin Shine wrote:
> Change change.XXXXXXXXX.O5GGPnmM.txt by [EMAIL PROTECTED]
> /Users/ben/src/svn/openlaszlo/trunk/ on 2006-09-07 14:40:17 PDT
>
> Summary: Add CSS to trunk, merged from coal.
>
> New Features: CSS
>
> Bugs Fixed:
> LPP-2309 Design and implement runtime CSS
> LPP-2346 Develop basic datastructures for CSS support in javascript
> LPP-2539 Implement $style constraints in the compiler
>
> Technical Reviewer: mcarlson
> QA Reviewer: (pending)
> Doc Reviewer: frisco
>
> Documentation:
>
> Release Notes:
>
> Details:
> Merged all changes from coal:
> svn merge -r1131:1249 http://svn.openlaszlo.org/openlaszlo/branches/coal
> svn merge -r1250:1475 http://svn.openlaszlo.org/openlaszlo/branches/coal
> svn merge -r1476:1630 http://svn.openlaszlo.org/openlaszlo/branches/coal
> svn merge -r1631:1759 http://svn.openlaszlo.org/openlaszlo/branches/coal
> svn merge -r1760:1766 http://svn.openlaszlo.org/openlaszlo/branches/coal
>
>
> Tests:
> http://localhost:8080/trunk/test/style/attrselector/main.lzx
> http://localhost:8080/trunk/test/style/compiler/stylesheetelement-test.lzx
> http://localhost:8080/trunk/test/style/descendantselector/descendantselector-test.lzx
>
>
> http://localhost:8080/trunk/test/style/descendantselector/complex-descendant-selector-test.lzx
>
>
> http://localhost:8080/trunk/test/style/elementselector/main.lzx
> http://localhost:8080/trunk/test/style/errors/cssfilenotfound.lzx
> (intentional compilation error)
> http://localhost:8080/trunk/test/style/fake/test-fake.lzx
> http://localhost:8080/trunk/test/style/idselector/main.lzx
> http://localhost:8080/trunk/test/style/names/main.lzx
> http://localhost:8080/trunk/test/style/names/main_underscore.lzx
> http://localhost:8080/trunk/test/style/names/main_dash.lzx (known failure)
> http://localhost:8080/trunk/test/style/simple/simple.lzx
> http://localhost:8080/trunk/test/style/specificity/specificity-tests.lzx
> http://localhost:8080/trunk/test/style/trait/main.lzx
> http://localhost:8080/trunk/test/style/typography/typography-test.lzx
>
> Files:
> A + test/style
> A + test/style/brokentests.lzx
> A + test/style/styledefhack.js
> A + test/style/trait
> A + test/style/trait/main.lzx
> A + test/style/trait/traits.css
> A + test/style/simple
> A + test/style/simple/simple.lzx
> A + test/style/elementselector
> A + test/style/elementselector/main.lzx
> A + test/style/elementselector/elementselector-test.lzx
> A + test/style/elementselector/specialclassnames-test.lzx
> A + test/style/elementselector/elementselectors.css
> A + test/style/ids.lzx
> A + test/style/seeit_css.js
> A + test/style/oldway
> A + test/style/oldway/oldway1.css
> A + test/style/oldway/oldway.lzx
> A + test/style/firsttry.lzx
> A + test/style/moreselectors.lzx
> A + test/style/names
> A + test/style/names/main_dash.lzx
> A + test/style/names/main.lzx
> A + test/style/names/main_underscore.lzx
> A + test/style/html
> A + test/style/html/firstry.html
> A + test/style/html/specific.html
> A + test/style/html/styledefhack.css
> A + test/style/typography
> A + test/style/typography/typography-test.lzx
> A + test/style/neighborhood
> A + test/style/neighborhood/kennedy_css.js
> A + test/style/neighborhood/neighborhoodclasses.lzx
> A + test/style/neighborhood/thestreet.lzx
> A + test/style/neighborhood/kennedy.css
> A + test/style/neighborhood/neighborhood-main.lzx
> A + test/style/neighborhood/maintest-runtimecss.lzx
> A + test/style/neighborhood/kennedyfamily.lzx
> A + test/style/neighborhood/neighborhoodtestsuite.lzx
> A + test/style/neighborhood/maintest-compiletimecss.lzx
> A + test/style/constraints
> A + test/style/constraints/complex.lzx
> A + test/style/constraints/resources
> A + test/style/constraints/resources/beach_bungalow.jpg
> A + test/style/constraints/resources/los_angeles.jpg
> A + test/style/constraints/resources/seattle_pike_place.jpg
> A + test/style/constraints/speedtest.lzx
> A + test/style/constraints/constraint-test.lzx
> A + test/style/designerview.lzx
> A + test/style/descendantselectors.lzx
> A + test/style/descendantselector
> A + test/style/descendantselector/descendantselector-test.lzx
> A + test/style/descendantselector/complex-descendant-selector-test.lzx
> A + test/style/moreselectors_css.js
> A + test/style/compiler
> A + test/style/compiler/stylesheetelement-test.lzx
> A + test/style/specificity
> A + test/style/specificity/specificity-tests.lzx
> A + test/style/attrselector
> A + test/style/attrselector/main.lzx
> A + test/style/attrselector/attrs.lzx
> A + test/style/test
> A + test/style/test/library.lzx
> A + test/style/test/testmanager.js
> A + test/style/test/test.lzx
> A + test/style/descendantselectors_css.js
> A + test/style/brokentestsmain.lzx
> A + test/style/seeit.lzx
> A + test/style/idselector
> A + test/style/idselector/main.lzx
> A + test/style/idselector/ids.css
> A + test/style/idselector/ids.lzx
> A + test/style/main.lzx
> A + test/style/ids_css.js
> A + test/style/notes.txt
> A + test/style/fake
> A + test/style/fake/test-fake.lzx
> A + test/style/fake/html-fake-elements.lzx
> A + test/style/errors
> A + test/style/errors/cssfilenotfound.lzx
> M WEB-INF/lps/schema/lzx.rnc
> A + WEB-INF/lps/lfc/services/LzCSSStyleSheet.js
> A + WEB-INF/lps/lfc/services/LzCSSStyle.js
> M WEB-INF/lps/lfc/services/Library.as
> A + WEB-INF/lps/lfc/services/LzStyleSheet.js
> M WEB-INF/lps/lfc/core/LzNode.as
> M WEB-INF/lps/server/src/org/openlaszlo/css/CSSHandler.java
> M WEB-INF/lps/server/src/org/openlaszlo/compiler/CanvasCompiler.java
> M
> WEB-INF/lps/server/src/org/openlaszlo/compiler/CompilationEnvironment.java
> M WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java
> M WEB-INF/lps/server/src/org/openlaszlo/compiler/Compiler.java
> A +
> WEB-INF/lps/server/src/org/openlaszlo/compiler/StyleSheetCompiler.java
> A + lps/utils/traits
> A + lps/utils/traits/cssable.lzx
> A + lps/components/utils/traits
> A + lps/components/utils/traits/cssable.lzx
> M lps/components/incubator/libflickr.lzx
> M lps/components/incubator/test/libflickr-test.lzx
> A + examples/css
> A + examples/css/test-haze.lzx
> A + examples/css/chocolate.css
> A + examples/css/berry.css
> A + examples/css/resources
> A + examples/css/resources/chocolate
> A + examples/css/resources/chocolate/logo.gnp
> A + examples/css/resources/chocolate/box.gnp
> A + examples/css/resources/berry
> A + examples/css/resources/berry/logo.gnp
> A + examples/css/resources/berry/box.gnp
> A + examples/css/resources/haze
> A + examples/css/resources/haze/logo.gnp
> A + examples/css/resources/haze/box.gnp
> A + examples/css/test-chocolate.lzx
> A + examples/css/test.lzx
> A + examples/css/test-berry.lzx
> A + examples/css/haze.css
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev