Optimize build.xml

                 Key: PIG-654
                 URL: https://issues.apache.org/jira/browse/PIG-654
             Project: Pig
          Issue Type: Improvement
          Components: impl
    Affects Versions: types_branch
            Reporter: Daniel Dai
            Assignee: Daniel Dai
            Priority: Trivial
             Fix For: types_branch

Build process can be faster. Here is the issues slow down the build process:
1. Should change test/org/apache/pig/test/utils/dotGraph/Dot.jjt to 
DOTParser.jjt. [jjtree] assumes the output file name the same with the input 
file name, otherwise, it will recompile every time
2. Delete 
 and src/org/apache/pig/impl/plan/SplitIntroducer.java, both classes are empty 
and generates no class file. Ant will recompile them every time since it do not 
see the output class file.

I do not know how to create a patch with file deletion and rename, so I 
describe the actions below:
1. mv test/org/apache/pig/test/utils/dotGraph/Dot.jjt 
2. rm 
3. rm src/org/apache/pig/impl/plan/SplitIntroducer.java
4. apply patch to change build.xml (Dot.jjt -> DOTParser.jjt)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to