I'm still stuck Got maven 2.2.1. "[exec] [INFO] Cannot execute mojo: site. It requires a project with an existing pom.xml, but the build is not using one." ok.modified mvn call to <exec program="${mvn}" commandline="site:site install -f ${log4net.basedir}/doc/site/pom.xml"/> "[exec] [INFO] Error configuring: org.apache.maven.plugins:maven-site-plugin. Reason: ERROR: Cannot override read-only parameter: reportPlugins in goal: site:site"
My current mod to generate pdb files during release build is below Index: src/buildsupport/log4net.include =================================================================== --- src/buildsupport/log4net.include (revision 1663874) +++ src/buildsupport/log4net.include (working copy) @@ -69,7 +69,7 @@ <call target="-set-build-configuration-flags" /> </target> <target name="set-release-build-configuration"> - <property name="build.debug" value="false" /> + <property name="build.debug" value="PdbOnly" /> <property name="build.defines.csc" value="TRACE,STRONG" /> <!-- FIXME: generate them from build.defines.csc --> <property name="build.defines.vbc" value="TRACE=True,STRONG=True" /> Maybe You could take over from here? Gert On 6 March 2015 at 13:05, Dominik Psenner <dpsen...@gmail.com> wrote: > Hi Gert! > > > > It’s great to see that you’re actually working on this! > > > > The build generates both binaries and the website, but it would seem like > you do not have maven installed on your computer. Beware, my memory tells > me that mvn3 does not work and you will have to stick with mvn2. > > > > Cheers > > > > *Von:* Gert Kello [mailto:gert.ke...@gmail.com] > *Gesendet:* Freitag, 06. März 2015 10:36 > *An:* Log4NET Dev > *Betreff:* Re: Debug info file for log4net release > > > > Sorru for incomplete message.. > > 1. Mono 2.0 not present.. Ok, I commented out > 2. mvn.bat not present, removed "generate-site" from <target > name="package-bin" depends="generate-sdkdoc-step1,generate-site"> > > Now the build succeeds but zip files do not contain any binary files. > Binary files are generated into log4net\build\bin but seems like zipping is > done from log4net\build\log4net-1.3.0-bin Am I missing some setting or is > the generate-site step required in between? > > Gert > > > > > > On 6 March 2015 at 11:32, Gert Kello <gert.ke...@gmail.com> wrote: > > Any hints how to successfully build package? Trying "nant package" but > have following problems: > > 1. Mono 2.0 not present.. Ok, I commented out > > 2. mvn.bat not present Skipped " > > > > On 5 March 2015 at 21:46, Dominik Psenner <dpsen...@gmail.com> wrote: > > Again responding inline.. > > On 5 Mar 2015 20:19, "Gert Kello" <gert.ke...@gmail.com> wrote: > > > > Usually the pdf files are available somehow for many projects... You can > get them even for microsoft assemblies from symbol server. The pdb files > could be separate download for example. Sometimes it would be easier to use > than to build by myself.. > > Agreed. If you need them the best thing you could do would be to hack a > release script that automates the process. That would be awesome indeed! > > Since most of us do this in our spare time the regular daylife tends to > get in the way. Try to explain a kid that daddy doesnt have time to play > when he finally gets back from work.. ;-) > > > > > Gert > > > > On 5 March 2015 at 14:46, Dominik Psenner <dpsen...@gmail.com> wrote: > >> > >> I’m taking this to log4net-dev since this goes well beyond the usage of > log4net. > >> > >> > >> > >> The pdb’s are not included because they are not required in a > production release and were never included in a release so far because most > users do not need them at all but could get confused with these files. > >> > >> > >> > >> If you need to debug log4net you should run it from source since the > release is both downloadable as a source package and available in svn so > that people can check out the source. Doing a checkout should be possible > without the requirement of any credentials and does not pose a significant > hurdle. Feel free to open an issue if you disagree and would like to have > the pdb files in future releases. > >> > >> > >> > >> Von: Gert Kello [mailto:gert.ke...@gmail.com] > >> Gesendet: Donnerstag, 05. März 2015 13:01 > >> An: Log4NET User > >> Betreff: Debug info file for log4net release > >> > >> > >> > >> Hi. > >> > >> Is it possible to download the log4net.pdb file for > log4net-1.2.13-bin-newkey.zip? So that debugging log4net would be possible > without making custom build. > >> > >> Is there some reason why it is not included in zip? Would You consider > adding it to coming releases? > >> > >> Gert > >> > >> > > > > > > > > >