ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52096] Add an option to <javac> to suppress creation of package-info.class
Date Fri, 28 Oct 2011 10:16:58 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52096

--- Comment #6 from Praveen <achu.prav@gmail.com> 2011-10-28 10:16:58 UTC ---
(In reply to comment #5)
> I really don't want to argue the best practice term here, one last note:  Of
> course the folder structure is best determnied by the project but you should
> tell Ant about it.  So rather than 
> <javac src="src/java" .../>
> use
> <javac ...>
>   <src>
>     <pathelement location="src/java/fld1"/>
>     <pathelement location="src/java/fld2"/>
>   </src>
> </javac>
> or a dirset nested into src if you want to keep it dynamic.
> It's not that Ant wants to enforce a structure, it just needs understanding the
> one you use.
> Back to the topic at hand: the class file created really only is there for Ant,
> not javac.  Some package level annotations don't create anything in class files
> so Ant will always recompile the package-info.java files unless it creates them
> itself - something you don't care about.
> I'll turn this into an enhancement request, change the subject and look into
> implementing it.

Thanks a lot for your patience hearing me :).
I will surely have a look into all the work arounds and see how feasible it
would be right now for my work.Thanks once again.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message