Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Java2OP.exe for *.java files?


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 3 - Last Post: Oct 20, 2015 12:00 PM Last Post By: Remy Lebeau (Te...
Asaf Goldman

Posts: 42
Registered: 4/29/09
Java2OP.exe for *.java files?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 20, 2015 2:45 AM
Hi,

Is there an option to use Java2OP.exe to import and generate *.pas files from *.java files like for example KeyboardLayout.java ?

Thanks,
Asaf

Borja Serrano

Posts: 53
Registered: 1/10/13
Re: Java2OP.exe for *.java files?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 20, 2015 7:07 AM   in response to: Asaf Goldman in response to: Asaf Goldman
Asaf Goldman

Posts: 42
Registered: 4/29/09
Re: Java2OP.exe for *.java files?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 20, 2015 10:39 AM   in response to: Borja Serrano in response to: Borja Serrano
Hi,

There is no -source at Java2OP.exe it is -src

When I run the command...

C:\java2op>Java2OP -src C:\java2op\JavaFiles
Warning: error opening ReservedWordsOP.txt
Warning: error opening ReservedWordsC.txt
Parsing xml: C:\java2op\bootclasses.xml
Parsing source: C:\java2op\JavaFiles
Error processing the folder -> C:\java2op\JavaFiles
See doclava.log for more info

At doclava.log the output is

Command:
javadoc -J-Xmx1024m -encoding "UTF-8" -sourcepath "C:\java2op\JavaFiles" -subpackages -classpath "" -bootclasspath "C:\java2op\bootclasses.jar" -docletpath "C:\java2op\doclava.jar" -doclet com.google.doclava.Doclava -nodocs -public -apixml "C:\java2op\temp.xml"

Output:
javadoc: error - Illegal package name: ""
1 error
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: Java2OP.exe for *.java files?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 20, 2015 12:00 PM   in response to: Asaf Goldman in response to: Asaf Goldman
Asaf wrote:

There is no -source at Java2OP.exe it is -src

If that is true, the documentation is wrong as it clearly shows a "-source"
option, and should be reported to QP.

--
Remy Lebeau (TeamB)
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02