Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ajdt-dev] AJDT 1.2.0M1 released


Hi,

nearly there...  I've just checked and the relevant snippets of the build script that are causing problems for you are these:

<property name="aspectj" value="c:/aspectj1.2" />
<property name="aspectjrt" value="${aspectj}/lib/aspectjrt.jar" />
<property name="aspectjtools" value="${aspectj}/lib/aspectjtools.jar" />

<taskdef
    resource="org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties">
        <classpath>
            <pathelement location="${aspectjtools}"/>
        </classpath>
</taskdef>

Recently, two of the ajdt plugins have become aspectj plugins so they need building with the iajc ant task.  You can see above that it looks for the iajc taskdef stuff by assuming you have aspectj installed in c:\aspectj1.2.  Do I gather that you don't?  We really shouldn't depend on that path (bug!!!) but if you either (a) install aspectj at that location or (b) change the property setting in org.eclipse.ajdt.core and org.eclipse.ajdt.ui and org.eclipse.contribution.visualiser. then you should find the tasks and make it further!  I am sorry this is so painful !

cheers,
Andy.



snpe <snpe@xxxxxxxxxx>
Sent by: ajdt-dev-admin@xxxxxxxxxxx

15/10/2004 17:29

Please respond to
ajdt-dev@xxxxxxxxxxx

To
steve@xxxxxxxxxxxxxx
cc
Andrew Clement/UK/IBM@IBMGB
Subject
Re: [ajdt-dev] AJDT 1.2.0M1 released





I work ant feature-pack in linux from command line, but I try this too :
directory /u2/radni/AJDT1.2src/org.eclipse.ajdt.core/bin doesn't exists, but exists directory
/u2/radni/AJDT1.2src/org.eclipse.ajdt.core/dist

this is output :

Buildfile: /u2/radni/AJDT1.2src/UpdateSite/build.xml

init:

update-site:

init:

packaged-plugin:

init:

packaged-plugin:
    [taskdef] Could not load definitions from resource org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties. It could not be found.

init:

visualiserjar:
    [taskdef] Could not load definitions from resource org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties. It could not be found.

externalbuild:

eclipsebuild:

buildproject:
       [copy] Copying 1 file to /u2/radni/AJDT1.2src/org.eclipse.contribution.visualiser/bin/org/eclipse/contribution/visualiser
        [zip] Building zip: /u2/radni/AJDT1.2src/org.eclipse.contribution.visualiser/build/Visualiser.jar

visualisersrcjar:
        [zip] Building zip: /u2/radni/AJDT1.2src/org.eclipse.contribution.visualiser/build/Visualisersrc.jar

packaged-plugin:
       [copy] Copying 15 files to /u2/radni/AJDT1.2src/org.eclipse.contribution.visualiser/build/icons
       [copy] Copying 220 files to /u2/radni/AJDT1.2src/org.eclipse.contribution.visualiser/build/doc
       [copy] Copying 5 files to /u2/radni/AJDT1.2src/org.eclipse.contribution.visualiser/build
       [copy] Copying 1 file to /u2/radni/AJDT1.2src/org.eclipse.contribution.visualiser/build
       [copy] Copying 1 file to /u2/radni/AJDT1.2src/org.eclipse.contribution.visualiser/build/lib
        [zip] Building zip: /u2/radni/AJDT1.2src/org.eclipse.contribution.visualiser/dist/org.eclipse.contribution.visualiser_2.1.0.DEVELOPMENT.jar

init:
      [mkdir] Created dir: /u2/radni/AJDT1.2src/org.eclipse.contribution.visualiser.tests/build
      [mkdir] Created dir: /u2/radni/AJDT1.2src/org.eclipse.contribution.visualiser.tests/dist

visualisertestsjar:

externalbuild:

eclipsebuild:

buildproject:
        [zip] Warning: skipping zip archive /u2/radni/AJDT1.2src/org.eclipse.contribution.visualiser.tests/build/visualisertests.jar because no files were included.

visualisertestssrcjar:
        [zip] Building zip: /u2/radni/AJDT1.2src/org.eclipse.contribution.visualiser.tests/build/visualisertestssrc.jar

packaged-plugin:
       [copy] Copying 1 file to /u2/radni/AJDT1.2src/org.eclipse.contribution.visualiser.tests/build
        [zip] Building zip: /u2/radni/AJDT1.2src/org.eclipse.contribution.visualiser.tests/dist/org.eclipse.contribution.visualiser.tests_2.1.0.DEVELOPMENT.jar
    [taskdef] Could not load definitions from resource org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties. It could not be found.

init:
      [mkdir] Created dir: /u2/radni/AJDT1.2src/org.eclipse.ajdt.core/build
      [mkdir] Created dir: /u2/radni/AJDT1.2src/org.eclipse.ajdt.core/dist

ajdtjar:
    [taskdef] Could not load definitions from resource org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties. It could not be found.

externalbuild:

eclipsebuild:

buildproject:
BUILD FAILED: /u2/radni/AJDT1.2src/org.eclipse.ajdt.core/build.xml:106: /u2/radni/AJDT1.2src/org.eclipse.ajdt.core/bin not found.
BUILD FAILED: /u2/radni/AJDT1.2src/UpdateSite/build.xml:114: The following error occurred while executing this line:
/u2/radni/AJDT1.2src/org.eclipse.ajdt.core/build.xml:106: /u2/radni/AJDT1.2src/org.eclipse.ajdt.core/bin not found.
Total time: 55 seconds

On Friday 15 October 2004 10:39 am, Andrew Clement wrote:
> For the second problem (with the missing task), you should open the run
> configuration you have set up for the build.xml in ajde and go to the JRE
> tab.  Now click the top option "Run in the same JRE as the workspace".
> That may address both problems... let me know...
>
> Andy.
>
>
>
>
>
> snpe <snpe@xxxxxxxxxx>
> Sent by: ajdt-dev-admin@xxxxxxxxxxx
> 14/10/2004 22:29
> Please respond to
> ajdt-dev@xxxxxxxxxxx
>
>
> To
> ajdt-dev@xxxxxxxxxxx
> cc
>
> Subject
> Re: [ajdt-dev] AJDT 1.2.0M1 released
>
>
>
>
>
>
> Andrew,
> I try ant feature-pack and get next error :
> ...
> init:
>     [mkdir] Created dir:
> /u2/radni/AJDT1.2src/org.eclipse.contribution.visualiser/build
>     [mkdir] Created dir:
> /u2/radni/AJDT1.2src/org.eclipse.contribution.visualiser/dist
>
> visualiserjar:
>   [taskdef] Could not load definitions from resource
> org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties. It could not be
> found.
>
> externalbuild:
>
> eclipsebuild:
>
> BUILD FAILED
> /u2/radni/AJDT1.2src/UpdateSite/build.xml:112: The following error
> occurred while executing this line:
> /u2/radni/AJDT1.2src/org.eclipse.contribution.visualiser/build.xml:94: The
> following error occurred while executing this line:
> /u2/radni/AJDT1.2src/org.eclipse.contribution.visualiser/build.xml:82:
> Could not create task or type of type: eclipse.incrementalBuild.
>
> Ant could not find the task or a class this task relies upon.
> ...
>
> regards
> On Thursday 14 October 2004 04:01 pm, Andrew Clement wrote:
> > Hi,
> >
> > if you want to build a version of AJDT, you should use the build.xml in
> > the UpdateSite project (which is available alongside the other plugins
> in
> > CVS).  In there you can set the version numbers at the top of the file
> and
> > then build the 'feature-pack' target.  This will build an update site as
>
> > well as a zip of all the individual plugins in case you want to install
> > them manually.
> >
> > Our build numbers usually have four numbers 1.2.0.nnnnnnn where nnnnn is
> a
> > build timestamp, this enables to continually rebuild versions of 1.2.0
> > that will be recognized as updates through the update manager because
> the
> > timestamp is always increasing.
> >
> > Andy.
> >
> >
> >
> >
> > snpe <snpe@xxxxxxxxxx>
> > Sent by: ajdt-dev-admin@xxxxxxxxxxx
> > 14/10/2004 18:31
> > Please respond to
> > ajdt-dev@xxxxxxxxxxx
> >
> >
> > To
> > ajdt-dev@xxxxxxxxxxx
> > cc
> > Andrew Clement/UK/IBM@IBMGB, aspectj-users@xxxxxxxxxxx
> > Subject
> > Re: [ajdt-dev] AJDT 1.2.0M1 released
> >
> >
> >
> >
> >
> >
> > Hi,
> >   I download ajdt with standard cvs command on linux and export all
> > plugins
> > in eclipse workpsace - I build all fine (with tip 'change to apsectj
> > project' on examples)
> > I change version manual to 1.2.0 in all plugins, but I can't  is it
> > correct
> >
> > Thanks
> > On Thursday 14 October 2004 02:44 pm, Andrew Clement wrote:
> > > Hi,
> > >
> > > In CVS the plugins have placeholders for the version numbers (91.1.19,
>
> > > 92.2.29, etc) - we then replace those distinct numbers with real
> version
> >
> > > numbers during packaging.  We can't use strings in those particular
> > fields
> > > in the plugin.xml/etc as they need to be made up of digits and dots.
> > >
> > > Andy.
> > > ---
> > > AspectJ/AJDT
> > > clemas@xxxxxxxxxx
> > >
> > >
> > >
> > >
> > > snpe <snpe@xxxxxxxxxx>
> > > Sent by: ajdt-dev-admin@xxxxxxxxxxx
> > > 14/10/2004 17:28
> > > Please respond to
> > > ajdt-dev@xxxxxxxxxxx
> > >
> > >
> > > To
> > > ajdt-dev@xxxxxxxxxxx
> > > cc
> > > Matt Chapman/UK/IBM@IBMGB, aspectj-users@xxxxxxxxxxx
> > > Subject
> > > Re: [ajdt-dev] AJDT 1.2.0M1 released
> > >
> > >
> > >
> > >
> > >
> > >
> > > Matt,
> > >    I try ajdt from cvs (AJDT1.2src) and build aspectj feature in
> eclipse
> >
> > > 3.0.1 linux
> > > Why are versions for all plugins 92.2.29 ?
> > >
> > > regards
> > > On Wednesday 13 October 2004 04:50 pm, Matt Chapman wrote:
> > > > After many months of hard work the AJDT team are delighted to
> announce
> >
> > > the
> > > > first milestone release of AJDT 1.2.0.
> > > >
> > > > The new improvements in this release are extensive - please read the
>
> > > three
> > > > pages of the New and Noteworthy document for details.
> > > >
> > > > This is a milestone release, to reflect the fact that some of the
> new
> > > > functionality may be incomplete or unstable in places. However we
> > > believe
> > > > this release is still a "safe" upgrade from 1.1.12, in that
> everything
> > > > that worked in 1.1.12 should work at least as well here.
> > > >
> > > > Supported versions of Eclipse for this release are: 3.0.0, 3.0.1,
> and
> > > > 3.1M1. Note that 3.1M2 will not work. Tested platforms are Windows
> and
> > > > Linux.
> > > >
> > > > Please see the AJDT homepage for the New and Noteworthy, download
> > > > information, and the latest release notes:
> > > >
> > > >     http://www.eclipse.org/ajdt
> > > >
> > > > Finally, the Eclipse download server has been heavily loaded
> recently,
> >
> > > so
> > > > please be patient if the download is slow.
> > > >
> > > > Regards,
> > > >
> > > > Matt + the rest of the AJDT team.
> > > >
> > > _______________________________________________
> > > ajdt-dev mailing list
> > > ajdt-dev@xxxxxxxxxxx
> > > http://dev.eclipse.org/mailman/listinfo/ajdt-dev
> > >
> > >
> > _______________________________________________
> > ajdt-dev mailing list
> > ajdt-dev@xxxxxxxxxxx
> > http://dev.eclipse.org/mailman/listinfo/ajdt-dev
> >
> >
> _______________________________________________
> ajdt-dev mailing list
> ajdt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/ajdt-dev
>
>
_______________________________________________
ajdt-dev mailing list
ajdt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/ajdt-dev



Back to the top