I am trying to follow https://knowledgebase.progress.com/articles/Article/How-to-get-the-war-file-without-PDSOE

Step 1 and 2 are no problem, BUT trying to create a paar file in step 3 always errors with an arguments problem.

proenv>restgen -proj D:\OpenEdge\WRK117_64\OneAnon -restSvcNames OneAnonService
-genPaar -target OneAnonpaar.war
Creating PAAR file with [OneAnonService] at target C:\OpenEdge\WRK117_64\OneAnon
paar.war
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.progress.rest.tools.WARGenerator.generatePAARFilesInZipWrapper(WA
RGenerator.java:32)
at com.progress.rest.tools.WARGenerator.main(WARGenerator.java:374)
Caused by: java.lang.IllegalArgumentException: Only folder is allowed
at com.progress.tools.caf.core.internal.model.impl.FolderLocation.<init>
(FolderLocation.java:71)
at com.progress.openedge.pdt.rest.util.PAARGenerator.generatePAARFilesIn
Zip(PAARGenerator.java:130)
at com.progress.openedge.pdt.rest.util.PAARGenerator.generatePAARFilesIn
Zip(PAARGenerator.java:114)
..

The genRESTwar gives the same error.

I have tried many variations of targer and proj. But the same error always occurs.


Error invoking method. Please check the options provided