From: Matthieu C. <cho...@gm...> - 2012-02-28 09:12:37
|
Ok I see now, I added the property to Hyperlinks and JavascriptSidekick, if you see another of my plugins that has the same problem you can add the property or ask me, I'll add it. Matthieu 2012/2/28 Jarek Czekalski <jar...@po...> > Hmm, it's strange. I just tested hyperlinks and javascript plugin and > they always recompile all the files. > > Source directory is set in their case to "." > So ant expects "com" package to be in "./com" directory. It isn't there. > That's the problem. Could you set the "src.dir" property to "src"? I > guess the plugin will build ok and all the rules will be satisfied then. > You don't have to change versions already tagged. It would be fine if it > was fixed for future releases. > > I can make the change myself and test plugin building if you prefer it > that way. > > Jarek > > W dniu 2012-02-28 09:19, Matthieu Casanova pisze: > > Ok, what do you expect that I should learn ? > > Your copy/paste of ant doc ? > > > > You state some rules that everybody agree with (except the fact that > > props and xml files must be under src folder). > > > > Then you say that some plugins like Javasidekick don't follow those > > rules, I tried and don't see compilation problems, if I modify some > > java files on that plugin, only those files are recompiled, so what's > > wrong ? > > > > > > > > > > 2012/2/28 Jarek Czekalski <jar...@po... > > <mailto:jar...@po...>> > > > > Matthieu, it's hard to convince someone who does not have time to > > read and learn. Let's leave it as my problem then. EOT. > > > > W dniu 2012-02-28 08:50, Matthieu Casanova pisze: > >> In fact I don't understand your problem. > >> Javasidekick has a src folder and under it the directory > >> structure follow the package hierarchy as expected. This only > >> means that the source root is not the root of the project but src > >> folder. A lot of plugins do that. > >> > >> 2012/2/28 Jarek Czekalski <jar...@po... > >> <mailto:jar...@po...>> > >> > >> Ok, I got it written: > >> http://ant.apache.org/manual/Tasks/javac.html > >> > >> === begin quote > >> When the source files are part of a package, the directory > >> structure of > >> the source tree should follow the package hierarchy. > >> === end quote > >> > >> W dniu 2012-02-28 08:19, Jarek Czekalski pisze: > >> > But there is a rule for submitting a fileset to the javac > task. > >> > Directory structure should reflect package structure. This > >> is not > >> > fulfilled in several plugins. It may result in unwanted > >> compilation of > >> > all files even if they were not modified. > >> > > >> > W dniu 2012-02-27 22:17, Matthieu Casanova pisze: > >> >> The problem is that there is no rules, some plugins have a > >> src folder > >> >> some others don't. > >> >> And the place where props and actions.xml files are is > >> different in > >> >> every plugins. > >> >> > >> >> 2012/2/27 Jarek Czekalski <jar...@po... > >> <mailto:jar...@po...> > >> >> <mailto:jar...@po... > >> <mailto:jar...@po...>>> > >> >> > >> >> W dniu 02/27/2012 09:46 PM, Jarek Czekalski pisze: > >> >> > Setting src.dir to src does not solve the problem > >> because props > >> >> file > >> >> > (and others, like services.xml) must be under src.dir also. > >> >> Ok, here I was wrong. I will try setting src.dir to > >> "src". It should > >> >> work. My algorithm assumed that all must be under src > >> and was > >> >> wrong in it. > >> >> > >> >> Jarek > >> >> > >> >> > >> >> > >> > ------------------------------------------------------------------------------ > >> >> Try before you buy = See our experts in action! > >> >> The most comprehensive online learning library for > >> Microsoft > >> >> developers > >> >> is just $99.99! Visual Studio, SharePoint, SQL - plus > >> HTML5, > >> >> CSS3, MVC3, > >> >> Metro Style Apps, more. Free future releases when you > >> subscribe now! > >> >> http://p.sf.net/sfu/learndevnow-dev2 > >> >> -- > >> >> ----------------------------------------------- > >> >> jEdit Developers' List > >> >> jEd...@li... > >> <mailto:jEd...@li...> > >> >> <mailto:jEd...@li... > >> <mailto:jEd...@li...>> > >> >> https://lists.sourceforge.net/lists/listinfo/jedit-devel > >> >> > >> >> > >> > > >> > > >> > > >> > ------------------------------------------------------------------------------ > >> > Keep Your Developer Skills Current with LearnDevNow! > >> > The most comprehensive online learning library for > >> Microsoft developers > >> > is just $99.99! Visual Studio, SharePoint, SQL - plus > >> HTML5, CSS3, MVC3, > >> > Metro Style Apps, more. Free future releases when you > >> subscribe now! > >> > http://p.sf.net/sfu/learndevnow-d2d > >> > > >> > > >> > >> > ------------------------------------------------------------------------------ > >> Keep Your Developer Skills Current with LearnDevNow! > >> The most comprehensive online learning library for Microsoft > >> developers > >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, > >> CSS3, MVC3, > >> Metro Style Apps, more. Free future releases when you > >> subscribe now! > >> http://p.sf.net/sfu/learndevnow-d2d > >> -- > >> ----------------------------------------------- > >> jEdit Developers' List > >> jEd...@li... > >> <mailto:jEd...@li...> > >> https://lists.sourceforge.net/lists/listinfo/jedit-devel > >> > >> > > > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > -- > ----------------------------------------------- > jEdit Developers' List > jEd...@li... > https://lists.sourceforge.net/lists/listinfo/jedit-devel > |