New component for DirectControlServlet
0 parents
Showing
4 changed files
with
84 additions
and
0 deletions
.gitignore
0 → 100644
1 | build |
build.xml
0 → 100644
1 | <?xml version="1.0"?> | ||
2 | <!-- | ||
3 | Licensed to the Apache Software Foundation (ASF) under one | ||
4 | or more contributor license agreements. See the NOTICE file | ||
5 | distributed with this work for additional information | ||
6 | regarding copyright ownership. The ASF licenses this file | ||
7 | to you under the Apache License, Version 2.0 (the | ||
8 | "License"); you may not use this file except in compliance | ||
9 | with the License. You may obtain a copy of the License at | ||
10 | |||
11 | http://www.apache.org/licenses/LICENSE-2.0 | ||
12 | |||
13 | Unless required by applicable law or agreed to in writing, | ||
14 | software distributed under the License is distributed on an | ||
15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
16 | KIND, either express or implied. See the License for the | ||
17 | specific language governing permissions and limitations | ||
18 | under the License. | ||
19 | --> | ||
20 | |||
21 | <project name="direct-control" default="jar" basedir="."> | ||
22 | <first id="possible.ofbiz.home.common.xml"> | ||
23 | <resources> | ||
24 | <fileset dir=".."> | ||
25 | <include name="ofbiz/common.xml"/> | ||
26 | </fileset> | ||
27 | <fileset dir="/"> | ||
28 | <include name="srv/ofbiz-upstream/common.xml"/> | ||
29 | <include name="opt/ofbiz-upstream/common.xml"/> | ||
30 | <include name="job/ofbiz-upstream/common.xml"/> | ||
31 | </fileset> | ||
32 | </resources> | ||
33 | </first> | ||
34 | <dirname property="possible.ofbiz.home.dir" file="${toString:possible.ofbiz.home.common.xml}"/> | ||
35 | <property name="ofbiz.home.dir" value="${possible.ofbiz.home.dir}"/> | ||
36 | <import file="${ofbiz.home.dir}/common.xml"/> | ||
37 | |||
38 | <!-- ================================================================== --> | ||
39 | <!-- Initialization of all property settings --> | ||
40 | <!-- ================================================================== --> | ||
41 | |||
42 | <property name="desc" value="direct-control"/> | ||
43 | <property name="name" value="direct-control"/> | ||
44 | |||
45 | <path id="local.class.path"> | ||
46 | <!--<fileset dir="${lib.dir}" includes="*.jar"/>--> | ||
47 | <fileset dir="${ofbiz.home.dir}/framework/webapp/lib" includes="*.jar"/> | ||
48 | <fileset dir="${ofbiz.home.dir}/framework/webapp/build/lib" includes="*.jar"/> | ||
49 | <fileset dir="${ofbiz.home.dir}/framework/base/lib" includes="*.jar"/> | ||
50 | <fileset dir="${ofbiz.home.dir}/framework/base/lib/commons" includes="*.jar"/> | ||
51 | <fileset dir="${ofbiz.home.dir}/framework/base/lib/scripting" includes="*.jar"/> | ||
52 | <fileset dir="${ofbiz.home.dir}/framework/base/lib/j2eespecs" includes="*.jar"/> | ||
53 | <fileset dir="${ofbiz.home.dir}/framework/base/build/lib" includes="*.jar"/> | ||
54 | <fileset dir="${ofbiz.home.dir}/framework/entity/lib" includes="*.jar"/> | ||
55 | <fileset dir="${ofbiz.home.dir}/framework/entity/build/lib" includes="*.jar"/> | ||
56 | <fileset dir="${ofbiz.home.dir}/framework/security/build/lib" includes="*.jar"/> | ||
57 | <fileset dir="${ofbiz.home.dir}/framework/service/lib" includes="*.jar"/> | ||
58 | <fileset dir="${ofbiz.home.dir}/framework/service/build/lib" includes="*.jar"/> | ||
59 | <fileset dir="${ofbiz.home.dir}/framework/minilang/build/lib" includes="*.jar"/> | ||
60 | <fileset dir="${ofbiz.home.dir}/framework/common/build/lib" includes="*.jar"/> | ||
61 | <fileset dir="${ofbiz.home.dir}/framework/webapp/build/lib" includes="*.jar"/> | ||
62 | <fileset dir="${ofbiz.home.dir}/applications/party/build/lib" includes="*.jar"/> | ||
63 | <fileset dir="${ofbiz.home.dir}/applications/product/build/lib" includes="*.jar"/> | ||
64 | <fileset dir="${ofbiz.home.dir}/applications/marketing/build/lib" includes="*.jar"/> | ||
65 | <fileset dir="${ofbiz.home.dir}/applications/order/build/lib" includes="*.jar"/> | ||
66 | <fileset dir="${ofbiz.home.dir}/applications/accounting/build/lib" includes="*.jar"/> | ||
67 | <fileset dir="${ofbiz.home.dir}/applications/securityext/build/lib" includes="*.jar"/> | ||
68 | |||
69 | <fileset dir="${ofbiz.home.dir}/framework/start/build/lib" includes="*.jar"/> | ||
70 | <fileset dir="${ofbiz.home.dir}/framework/catalina/lib" includes="*.jar"/> | ||
71 | </path> | ||
72 | </project> |
ofbiz-component.xml
0 → 100644
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <ofbiz-component name="direct-api" | ||
3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
4 | xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/ofbiz-component.xsd"> | ||
5 | <resource-loader name="main" type="component"/> | ||
6 | <classpath type="dir" location="config"/> | ||
7 | <classpath type="jar" location="lib/*"/> | ||
8 | <classpath type="jar" location="build/lib/*"/> | ||
9 | |||
10 | </ofbiz-component> | ||
11 |
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment