Yes, sorry about the double post, but that was my first post and it seems 
to take a while before you can see your own post. Thought it had gone into 
the bitbucket somehow...

Op woensdag 5 maart 2014 00:35:03 UTC+1 schreef Ray Tsang (AdWords API 
Team):
>
> Frank,
>
> I've responded to you on your other thread.  Let's continue our 
> conversation there.
>
> Cheers,
>
> Ray
>
> On Tuesday, March 4, 2014 11:17:25 AM UTC-5, Frank Tolsma wrote:
>>
>> I use Java from the Netbeans environment and have downloaded the Maven 
>> version of the Adwords API examples.
>>
>> Running them from within Netbeans, by doing Run - File, works, but how 
>> can I get Maven to build something executable that can be run from the 
>> command line?
>> I realize this is more a Maven question than an Adwords API question, but 
>> Maven is a bit ... overwhelming.
>>
>> What seems to work is to have Maven build the 'install' goal.
>> That creates 3 .jar files in the target directory:
>> - singlejar.jar (13.4 Mb)
>> - adwords-axis-examples-1.24.0-shaded.jar (13.4 Mb)
>> - adwords-axis-examples-1.24.0.jar (330 kb)
>> The big jars can be executed using: java - jar <jarfile>
>> The small one cannot: "no main manifest attribute, in 
>> adwords-axis-examples-1.24.0.jar"
>>
>> My pom.xml contains (the parts I think are relevant):
>>
>>   <properties>
>>     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
>>     
>> <smokeMainClass>adwords.axis.v201309.basicoperations.GetCampaigns</smokeMainClass>
>>   </properties>
>>
>>   <profiles>
>>     <profile>
>>       <id>smoketest</id>
>>       <properties>
>>         <exec.mainClass>${smokeMainClass}</exec.mainClass>
>>       </properties>
>>     </profile>
>>   </profiles>
>>
>> Any pointers to how this is supposed to be done, with Maven (from 
>> Netbeans, if possible)... A 'best practice' ?
>> I feel like doing too much trail and error...
>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to