You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

fop.cmd 1.2KB

12345678910111213141516171819202122232425262728293031
  1. @ECHO OFF
  2. REM Licensed to the Apache Software Foundation (ASF) under one or more
  3. REM contributor license agreements. See the NOTICE file distributed with
  4. REM this work for additional information regarding copyright ownership.
  5. REM The ASF licenses this file to You under the Apache License, Version 2.0
  6. REM (the "License"); you may not use this file except in compliance with
  7. REM the License. You may obtain a copy of the License at
  8. REM
  9. REM http://www.apache.org/licenses/LICENSE-2.0
  10. REM
  11. REM Unless required by applicable law or agreed to in writing, software
  12. REM distributed under the License is distributed on an "AS IS" BASIS,
  13. REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. REM See the License for the specific language governing permissions and
  15. REM limitations under the License.
  16. REM $Id$
  17. set LOCAL_FOP_HOME=%~dp0
  18. set FOP_CMD_LINE_ARGS=%1
  19. if ""%1""=="""" goto doneStart
  20. shift
  21. :setupArgs
  22. if ""%1""=="""" goto doneStart
  23. set FOP_CMD_LINE_ARGS=%FOP_CMD_LINE_ARGS% %1
  24. shift
  25. goto setupArgs
  26. rem This label provides a place for the argument list loop to break out
  27. :doneStart
  28. call "%LOCAL_FOP_HOME%\fop.bat" %FOP_CMD_LINE_ARGS%