[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] Ajdoc-Ant-Task Source Level Problems
|
Hi,
'source' was my first guess too. I tried 'source="1.5"' and
'source="5.0"', but none of them works. Here is my task, 'prepare' just
creates some folders:
<!-- Generates the documentation -->
<target name="doc" depends="prepare">
<ajdoc
destdir="${DOC_LOC}"
packagenames="de.tobiasdemuth.common.*"
classpathref="class.path"
source="1.5">
<sourcepath>
<dirset dir="${SOURCE_LOC}">
<include name="**/**" />
<exclude name="**/test/**" />
</dirset>
</sourcepath>
</ajdoc>
</target>
Andy Clement schrieb:
Hi Tobias,
The Ant tasks haven't had many updates lately - but they should all be
working just fine. Does the attribute 'source' not work for you? I'm
not setup to try it right now but from the code (not the doc...) it
looks like 'source="1.5"' ought to work as it just gets passed onto
the internals as "-source 1.5". If that doesn't work, let me know and
we'll sort it out. Really I ought to at least make ajc/ajdoc (and
their ant tasks) default to 1.5 now, if not 1.6...
cheers,
Andy.
2009/1/17 Tobias Demuth <tobias.demuth@xxxxxxxxxx
<mailto:tobias.demuth@xxxxxxxxxx>>
Hi,
I'm trying to document my project using the ajdoc-ant-task.
Apparently ajdoc does a rebuild of my source-files in order to
document them. This step fails, because ajdoc uses source-level
1.4, but I'm using Java 5. I didn't find any attribute for fixing
this in the documentation (maybe looking at the wrong place?). So,
what can I do? Are the ant-tasks under current development? Or is
everyone so eager using Maven that nobody wants to support good
old Ant?
thanks in advance,
Tobias
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx <mailto:aspectj-users@xxxxxxxxxxx>
https://dev.eclipse.org/mailman/listinfo/aspectj-users
------------------------------------------------------------------------
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users