M
mike
Hi,
I am trying to figure out how to use regexp in java to match this
pattern:
compile:
[javac] Compiling 933 source files to /tmp/gdduser/classes
dft.properties:
So I want to make sure I have:
compile:
[javac] Compiling 933 source files to /tmp/gdduser/classes
<<nothing on this line>>
How can I use java to apply it? It will be something like, when
"compile:" is found check that there is a [javac] Compiling .... on
next line . If there is then I need to check if there is an empty
line. If all conditions are fullfilled then I can I know that my build
step is completed and I have a full match.
Any ideas?
br,
//mike
I am trying to figure out how to use regexp in java to match this
pattern:
compile:
[javac] Compiling 933 source files to /tmp/gdduser/classes
dft.properties:
So I want to make sure I have:
compile:
[javac] Compiling 933 source files to /tmp/gdduser/classes
<<nothing on this line>>
How can I use java to apply it? It will be something like, when
"compile:" is found check that there is a [javac] Compiling .... on
next line . If there is then I need to check if there is an empty
line. If all conditions are fullfilled then I can I know that my build
step is completed and I have a full match.
Any ideas?
br,
//mike