Build project issue

17 views
Skip to first unread message

Stefano Spinelli

unread,
Apr 7, 2011, 9:39:57 AM4/7/11
to iBugs
Hi all,
I'm a master student at university of Milano-Bicocca and I would like
to extract the aspectj version with DfixId= 173602. So I use the ant
task checkoutversion (ant -DfixId=173602 checkoutversion) but the
terminal returns me the message:

Buildfile: build.xml does not exist!
Build failed

In which mode I can resolve the issue?

Thanks to all

Valentin Dallmeier

unread,
Apr 7, 2011, 10:25:01 AM4/7/11
to ib...@googlegroups.com
Hi Stefano!

Thank you for interest in iBUGS. The error message you're getting suggests that you're executing ant in the wrong directory. To resolve the issue:

1. Locate build.xml at the root of your iBUGS subject.
2. Change directory to this location.
3. Execute ant.

I hope this solves your issue.

Regards,

Valentin


--
You received this message because you are subscribed to the Google Groups "iBugs" group.
To post to this group, send email to ib...@googlegroups.com.
To unsubscribe from this group, send email to ibugs+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ibugs?hl=en.


Stefano Spinelli

unread,
Apr 11, 2011, 4:04:32 PM4/11/11
to iBugs
Thank you so much for your help.
I would like to ask you another question. I extracted the test by ant -
DfixId=4711 -Dtag=pre-fix buildtests command. So in the directory
“versions/4711/prefix/org.aspectj/modules/aj-build/jars/” there are
some jar files. What is the jar file containing application test
cases? Is possible to extract test cases from the jar and import them
in Eclipse?

Regards,
Stefano Spinelli.

On 7 Apr, 16:25, Valentin Dallmeier <valentin.dallme...@gmail.com>
wrote:
> Hi Stefano!
>
> Thank you for interest in iBUGS. The error message you're getting suggests
> that you're executing ant in the wrong directory. To resolve the issue:
>
> 1. Locate build.xml at the root of your iBUGS subject.
> 2. Change directory to this location.
> 3. Execute ant.
>
> I hope this solves your issue.
>
> Regards,
>
> Valentin
>

Valentin Dallmeier

unread,
Apr 14, 2011, 4:13:11 AM4/14/11
to ib...@googlegroups.com
It is possible to include the tests in Eclipse. If you want to add the sources of the tests, you will have to look in the test folders of all sub modules of AspectJ. Unfortunately, there is no other way to achieve this. When building tests, the compiled tests are accumulated in

${versiondirectory}/org.aspectj/modules/aj-build/jars/run-all-junit-tests-test-all.jar"
${versiondirectory}/org.aspectj/modules/aj-build/jars/testing-drivers-test-all.jar"
${versiondirectory}/org.aspectj/modules/aj-build/jars/testing-drivers-all.jar"

depending on which version of AspectJ you are using.

Regards,

Valentin
Reply all
Reply to author
Forward
0 new messages