Search found 4 matches

by roxyproxy
Sat Jun 07, 2003 4:03 pm
Forum: General
Topic: Integrating Jacobe Beautifier for Java with TextPad
Replies: 4
Views: 533

I figured out something more too!

This works well now:

jacobe %1.java
IF NOT EXIST %1.java.jacobe GOTO ENDBAT
delete %1.java
rename %1.java.jacobe %1.java
:ENDBAT


Is there a more efficient way of doing this?

Thanks,
roxyproxy
by roxyproxy
Sat Jun 07, 2003 3:54 pm
Forum: General
Topic: Integrating Jacobe Beautifier for Java with TextPad
Replies: 4
Views: 533

I figured something out; here's what I did:

jacobe %1.java
delete %1.java
rename %1.java.jacobe %1.java


This works if I pass $BaseName as a parameter, but I don't want the second and third steps (delete and rename) to occur if the jacobe step is unsuccessful. How do I do this?

Thanks a lot ...
by roxyproxy
Sat Jun 07, 2003 3:39 pm
Forum: General
Topic: Integrating Jacobe Beautifier for Java with TextPad
Replies: 4
Views: 533

write a batch file doing your 3 steps


Could you please tell me what exactly the batch file should contain? What I am confused about is how to put the filename in the batch file.

Example:

jacobe ?
delete ?
rename ?.java.jacobe ?.java

What do I put in the "?" fields? I can't just put file.java ...
by roxyproxy
Sat Jun 07, 2003 12:03 am
Forum: General
Topic: Integrating Jacobe Beautifier for Java with TextPad
Replies: 4
Views: 533

Integrating Jacobe Beautifier for Java with TextPad

Hi,

I am using the Jacobe Code Beautifier which is available from the Jacobe website

I have used it so far from the command-line successfully, but I want to integrate it with TextPad so that when I choose to jacobe a file, it should do that automatically and replace the existing file with the ...