Author: hansbak
Date: Fri Nov 13 09:02:21 2009
New Revision: 835781
URL: http://svn.apache.org/viewvc?rev=835781&view=rev
Log:
added missing asf headers, deleted build libraries according comments in the
mailing list
Added:
ofbiz/branches/addbirt/framework/birt/lib/scriptlib/
Removed:
ofbiz/branches/addbirt/framework/birt/build/
ofbiz/branches/addbirt/framework/birt/webapp/birt/scriptlib/
Modified:
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/BirtWorker.java
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/container/BirtContainer.java
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/email/BirtEmailServices.java
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/report/context/BirtViewerAttributeBean.java
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/report/context/OFBizBirtContext.java
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/report/service/OFBizBirtViewerReportService.java
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/report/servlet/BirtEngineServlet.java
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/report/servlet/BirtViewerServlet.java
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/webapp/view/BirtViewHandler.java
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/widget/BirtFactory.java
ofbiz/branches/addbirt/framework/birt/webapp/birt/WEB-INF/web.xml
Modified:
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/BirtWorker.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/BirtWorker.java?rev=835781&r1=835780&r2=835781&view=diff
==============================================================================
--- ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/BirtWorker.java
(original)
+++ ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/BirtWorker.java
Fri Nov 13 09:02:21 2009
@@ -1,3 +1,21 @@
+/*******************************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+
*******************************************************************************/
package org.ofbiz.birt;
import java.io.OutputStream;
Modified:
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/container/BirtContainer.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/container/BirtContainer.java?rev=835781&r1=835780&r2=835781&view=diff
==============================================================================
---
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/container/BirtContainer.java
(original)
+++
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/container/BirtContainer.java
Fri Nov 13 09:02:21 2009
@@ -1,3 +1,21 @@
+/*******************************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+
*******************************************************************************/
package org.ofbiz.birt.container;
import java.io.File;
Modified:
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/email/BirtEmailServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/email/BirtEmailServices.java?rev=835781&r1=835780&r2=835781&view=diff
==============================================================================
---
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/email/BirtEmailServices.java
(original)
+++
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/email/BirtEmailServices.java
Fri Nov 13 09:02:21 2009
@@ -1,3 +1,21 @@
+/*******************************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+
*******************************************************************************/
package org.ofbiz.birt.email;
import java.io.ByteArrayOutputStream;
Modified:
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/report/context/BirtViewerAttributeBean.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/report/context/BirtViewerAttributeBean.java?rev=835781&r1=835780&r2=835781&view=diff
==============================================================================
---
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/report/context/BirtViewerAttributeBean.java
(original)
+++
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/report/context/BirtViewerAttributeBean.java
Fri Nov 13 09:02:21 2009
@@ -1,3 +1,21 @@
+/*******************************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+
*******************************************************************************/
package org.ofbiz.birt.report.context;
import java.net.URL;
Modified:
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/report/context/OFBizBirtContext.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/report/context/OFBizBirtContext.java?rev=835781&r1=835780&r2=835781&view=diff
==============================================================================
---
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/report/context/OFBizBirtContext.java
(original)
+++
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/report/context/OFBizBirtContext.java
Fri Nov 13 09:02:21 2009
@@ -1,3 +1,21 @@
+/*******************************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+
*******************************************************************************/
package org.ofbiz.birt.report.context;
import javax.servlet.http.HttpServletRequest;
Modified:
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/report/service/OFBizBirtViewerReportService.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/report/service/OFBizBirtViewerReportService.java?rev=835781&r1=835780&r2=835781&view=diff
==============================================================================
---
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/report/service/OFBizBirtViewerReportService.java
(original)
+++
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/report/service/OFBizBirtViewerReportService.java
Fri Nov 13 09:02:21 2009
@@ -1,3 +1,21 @@
+/*******************************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+
*******************************************************************************/
package org.ofbiz.birt.report.service;
import java.io.File;
Modified:
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/report/servlet/BirtEngineServlet.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/report/servlet/BirtEngineServlet.java?rev=835781&r1=835780&r2=835781&view=diff
==============================================================================
---
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/report/servlet/BirtEngineServlet.java
(original)
+++
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/report/servlet/BirtEngineServlet.java
Fri Nov 13 09:02:21 2009
@@ -1,3 +1,21 @@
+/*******************************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+
*******************************************************************************/
package org.ofbiz.birt.report.servlet;
import java.io.IOException;
Modified:
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/report/servlet/BirtViewerServlet.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/report/servlet/BirtViewerServlet.java?rev=835781&r1=835780&r2=835781&view=diff
==============================================================================
---
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/report/servlet/BirtViewerServlet.java
(original)
+++
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/report/servlet/BirtViewerServlet.java
Fri Nov 13 09:02:21 2009
@@ -1,3 +1,21 @@
+/*******************************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+
*******************************************************************************/
package org.ofbiz.birt.report.servlet;
import java.io.IOException;
Modified:
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/webapp/view/BirtViewHandler.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/webapp/view/BirtViewHandler.java?rev=835781&r1=835780&r2=835781&view=diff
==============================================================================
---
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/webapp/view/BirtViewHandler.java
(original)
+++
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/webapp/view/BirtViewHandler.java
Fri Nov 13 09:02:21 2009
@@ -1,3 +1,21 @@
+/*******************************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+
*******************************************************************************/
package org.ofbiz.webapp.view;
import java.io.IOException;
Modified:
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/widget/BirtFactory.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/widget/BirtFactory.java?rev=835781&r1=835780&r2=835781&view=diff
==============================================================================
---
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/widget/BirtFactory.java
(original)
+++
ofbiz/branches/addbirt/framework/birt/src/org/ofbiz/birt/widget/BirtFactory.java
Fri Nov 13 09:02:21 2009
@@ -1,3 +1,21 @@
+/*******************************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+
*******************************************************************************/
package org.ofbiz.widget.birt;
import java.io.IOException;
Modified: ofbiz/branches/addbirt/framework/birt/webapp/birt/WEB-INF/web.xml
URL:
http://svn.apache.org/viewvc/ofbiz/branches/addbirt/framework/birt/webapp/birt/WEB-INF/web.xml?rev=835781&r1=835780&r2=835781&view=diff
==============================================================================
--- ofbiz/branches/addbirt/framework/birt/webapp/birt/WEB-INF/web.xml (original)
+++ ofbiz/branches/addbirt/framework/birt/webapp/birt/WEB-INF/web.xml Fri Nov
13 09:02:21 2009
@@ -119,7 +119,7 @@
-->
<context-param>
<param-name>BIRT_VIEWER_SCRIPTLIB_DIR</param-name>
- <param-value>${ofbiz.home}/framework/birt/scriptlib</param-value>
+ <param-value>${ofbiz.home}/framework/birt/lib/scriptlib</param-value>
</context-param>
<!-- Resource location directory. Defaults to ${birt home} -->
@@ -191,7 +191,7 @@
<init-param><param-name>disableContextSecurity</param-name><param-value>N</param-value></init-param>
<init-param>
<param-name>allowedPaths</param-name>
-
<param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css:/frameset:/preview:/webcontent:/CancelTask.jsp</param-value>
+
<param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css:/frameset:/run:/preview:/download:/parameter:/document:/output:/extract:/webcontent:/CancelTask.jsp</param-value>
</init-param>
<init-param><param-name>errorCode</param-name><param-value>403</param-value></init-param>
<init-param><param-name>redirectPath</param-name><param-value>/control/main</param-value></init-param>
@@ -242,15 +242,47 @@
<servlet-class>org.ofbiz.birt.report.servlet.BirtEngineServlet</servlet-class>
</servlet>
<servlet-mapping><servlet-name>ControlServlet</servlet-name><url-pattern>/control/*</url-pattern></servlet-mapping>
+
<servlet-mapping>
<servlet-name>ViewerServlet</servlet-name>
<url-pattern>/frameset</url-pattern>
</servlet-mapping>
+
+ <servlet-mapping>
+ <servlet-name>ViewerServlet</servlet-name>
+ <url-pattern>/run</url-pattern>
+ </servlet-mapping>
+
<servlet-mapping>
<servlet-name>EngineServlet</servlet-name>
<url-pattern>/preview</url-pattern>
</servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>EngineServlet</servlet-name>
+ <url-pattern>/download</url-pattern>
+ </servlet-mapping>
+
+ <servlet-mapping>
+ <servlet-name>EngineServlet</servlet-name>
+ <url-pattern>/parameter</url-pattern>
+ </servlet-mapping>
+
+ <servlet-mapping>
+ <servlet-name>EngineServlet</servlet-name>
+ <url-pattern>/document</url-pattern>
+ </servlet-mapping>
+
+ <servlet-mapping>
+ <servlet-name>EngineServlet</servlet-name>
+ <url-pattern>/output</url-pattern>
+ </servlet-mapping>
+
+ <servlet-mapping>
+ <servlet-name>EngineServlet</servlet-name>
+ <url-pattern>/extract</url-pattern>
+ </servlet-mapping>
+
<session-config><session-timeout>60</session-timeout><!-- in minutes
--></session-config>
<welcome-file-list>