• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

missing artifact when trying to build

New Here ,
Sep 07, 2009 Sep 07, 2009

Copy link to clipboard

Copied

Hi,

I am trying to build flexPmd from sources and facing an error saying that:

...

[INFO] ------------------------------------------------------------------------
[INFO] Building Adobe Flex PMD Ruleset creator
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
Downloading: http://repository.sonatype.org/content/groups/public//com/adobe/ac/flexunit-theme/1.0/flexunit-theme...
...
Downloading: http://fna-v2.googlecode.com/svn/trunk/fna_m2_repository//com/adobe/ac/flexunit-theme/1.0/flexunit-t...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) com.adobe.ac:flexunit-theme:swc:1.0

...

I've tried to find the missing library on the Internet... with no success so far. Could anybody help me with that?

Regards,

Sergiu

TOPICS
FlexPMD

Views

3.0K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Sep 08, 2009 Sep 08, 2009

Hi,

You can find it there:

http://opensource.adobe.com/svn/opensource/flexpmd/trunk/flexunit-theme/

Xavier

Votes

Translate

Translate
Adobe Employee ,
Sep 08, 2009 Sep 08, 2009

Copy link to clipboard

Copied

Hi,

You can find it there:

http://opensource.adobe.com/svn/opensource/flexpmd/trunk/flexunit-theme/

Xavier

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 08, 2009 Sep 08, 2009

Copy link to clipboard

Copied

I added this project as a module.

If you tried to build the project against trunk, just update, and that would work.

Xavier

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 08, 2009 Sep 08, 2009

Copy link to clipboard

Copied

Thanks Xavier,

It worked and goes further. However, trying to build flexPmd targeting Flash Player 10 i am getting the following errors:

[ERROR] /home/ssvinarciuc/work/flexpmd/trunk/flex-pmd-flex-lib/src/main/flex/Version.as:[1,1] Definition __AS3__.vec:Vector could not be found.package{ public class Version { public static const BUILD_NUMBER : String = '1.0.RC4-SNAPSHOT'; public static const BUILD_TIME : String = '11:35:09'; public static const BUILD_DATE : String = '2009-09-08'; }}
[ERROR] /home/ssvinarciuc/work/flexpmd/trunk/flex-pmd-flex-lib/src/main/flex/Version.as:[1,1] Definition __AS3__.vec:Vector could not be found.package{ public class Version { public static const BUILD_NUMBER : String = '1.0.RC4-SNAPSHOT'; public static const BUILD_TIME : String = '11:35:09'; public static const BUILD_DATE : String = '2009-09-08'; }}
[ERROR] /home/ssvinarciuc/work/flexpmd/trunk/flex-pmd-flex-lib/src/main/flex/com/adobe/ac/model/IDomainModel.as:[1,1] Definition __AS3__.vec:Vector could not be found./**
[ERROR] /home/ssvinarciuc/work/flexpmd/trunk/flex-pmd-flex-lib/src/main/flex/com/adobe/ac/model/IDomainModel.as:[1,1] Definition __AS3__.vec:Vector could not be found./**
[ERROR] /home/ssvinarciuc/work/flexpmd/trunk/flex-pmd-flex-lib/src/main/flex/com/adobe/ac/model/IPresentationModel.as:[1,1] Definition __AS3__.vec:Vector could not be found./**
[ERROR] /home/ssvinarciuc/work/flexpmd/trunk/flex-pmd-flex-lib/src/main/flex/com/adobe/ac/model/IPresentationModel.as:[1,1] Definition __AS3__.vec:Vector could not be found./**
[ERROR] /home/ssvinarciuc/work/flexpmd/trunk/flex-pmd-flex-lib/src/main/flex/com/adobe/ac/pmd/model/ViolationPriority.as:[1,1] Definition __AS3__.vec:Vector could not be found./**
[ERROR] /home/ssvinarciuc/work/flexpmd/trunk/flex-pmd-flex-lib/src/main/flex/com/adobe/ac/pmd/model/ViolationPriority.as:[1,1] Definition __AS3__.vec:Vector could not be found./**
[ERROR] /home/ssvinarciuc/work/flexpmd/trunk/flex-pmd-flex-lib/src/main/flex/com/adobe/ac/pmd/control/events/GetRulesetContentEvent.as:[1,1] Definition __AS3__.vec:Vector could not be found./**
[ERROR] /home/ssvinarciuc/work/flexpmd/trunk/flex-pmd-flex-lib/src/main/flex/com/adobe/ac/pmd/control/events/GetRulesetContentEvent.as:[1,1] Definition __AS3__.vec:Vector could not be found./**

...

If i change target player to 9... the error above doesn't appear... but onother one comes out:

...

[INFO] Building Adobe Flex PMD Ruleset creator
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /home/ssvinarciuc/work/flexpmd/trunk/flex-pmd-ruleset-creator/target

...

...

-metadata.contributor Francois Le Droff
-metadata.creator Xavier Agnetti
-metadata.date Tue Sep 08 11:48:49 EEST 2009
-target-player 9.0.0
-use-network=true
-verify-digests=true -load-config=
[ERROR] /home/ssvinarciuc/work/flexpmd/trunk/flex-pmd-ruleset-creator/src/main/flex/com/adobe/ac/pmd/view/RuleSetNavigatorPM.as:[83,27] Call to a possibly undefined method save through a reference with static type flash.net:FileReference.fileReference.save( xml, "pmd.xml" );

...

What i am doing wrong?

Thank you,

Sergiu

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 08, 2009 Sep 08, 2009

Copy link to clipboard

Copied

LATEST

You definitely need to target Flash Player 10: It is needed.

I've never seen the error you are getting related to Vector.

It is not used in the application.

To work around it, you can remove the flex-modules from the flex-pmd-parent/pom.xml.

If you went that far in the build process, the FlexPMD jars are built. It "only" fails while building the FlexPMD Flex applications (Violations viewer and Ruleset creator)

HTH

Xavier

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines