merged tag ooo/DEV300_m102
[LibreOffice.git] / beanshell / bsh-2.0b1-src.patch
blob99e8b8b9ddc2577f2385cf7af54fc99aa31ff0e2
1 --- misc/BeanShell/build.xml Fri Dec 19 17:14:27 2003
2 +++ misc/build/BeanShell/build.xml Fri Mar 28 15:55:04 2008
3 @@ -17,7 +17,7 @@
4 up the build dir! It has to be done manually the first time (or put
5 in the jar file). There must be a way to fix this...
6 -->
7 -<project name="beanshell" default="compile" basedir=".">
8 +<project name="beanshell" default="jarall" basedir=".">
10 <!-- Project Configuration -->
12 @@ -71,6 +71,9 @@
13 value="bsh/util/BeanShellBSFEngine.java,TestBshBSF.java"/>
14 -->
16 + <property name="exclude-bsf"
17 + value="bsh/util/BeanShellBSFEngine.java,TestBshBSF.java"/>
19 <!-- Uncomment to build without the ASM class generator code.
20 <property name="exclude-classgen"
21 value="bsh/org/objectweb/asm/**,bsh/ClassGeneratorImpl.java,bsh/ClassGeneratorUtil.java,bsh/DelayedEvalBshMethod.java"/>
22 @@ -80,6 +83,9 @@
23 <property name="exclude-servlet"
24 value="bsh/servlet/*"/>
25 -->
27 + <property name="exclude-servlet"
28 + value="bsh/servlet/*"/>
30 <!-- Legacy excludes. Comment this *out* to build these legacy items -->
31 <property name="legacy-excludes"
32 --- misc/BeanShell/makefile.mk Fri Mar 28 15:56:40 2008
33 +++ misc/build/BeanShell/makefile.mk Fri Mar 28 15:56:06 2008
34 @@ -1 +1,35 @@
35 -dummy
36 +#*************************************************************************
38 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
39 +#
40 +# Copyright 2000, 2010 Oracle and/or its affiliates.
42 +# OpenOffice.org - a multi-platform office productivity suite
44 +# This file is part of OpenOffice.org.
46 +# OpenOffice.org is free software: you can redistribute it and/or modify
47 +# it under the terms of the GNU Lesser General Public License version 3
48 +# only, as published by the Free Software Foundation.
50 +# OpenOffice.org is distributed in the hope that it will be useful,
51 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
52 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
53 +# GNU Lesser General Public License version 3 for more details
54 +# (a copy is included in the LICENSE file that accompanied this code).
56 +# You should have received a copy of the GNU Lesser General Public License
57 +# version 3 along with OpenOffice.org. If not, see
58 +# <http://www.openoffice.org/license.html>
59 +# for a copy of the LGPLv3 License.
61 +#*************************************************************************
63 +PRJ=..$/..$/..$/..
64 +PRJNAME=ooo_beanshell
65 +TARGET=jarall
67 +.INCLUDE : ant.mk
69 +ALLTAR : ANTBUILD
71 --- misc/BeanShell/src/bsh/ClassGeneratorUtil.java Fri Dec 19 17:14:28 2003
72 +++ misc/build/BeanShell/src/bsh/ClassGeneratorUtil.java Fri Mar 28 15:55:05 2008
73 @@ -34,7 +34,9 @@
74 package bsh;
76 import bsh.org.objectweb.asm.*;
77 -import java.lang.reflect.*;
78 +import java.lang.reflect.Constructor;
79 +import java.lang.reflect.InvocationTargetException;
80 +import java.lang.reflect.Method;
81 import java.util.ArrayList;
82 import java.util.List;